I am struggling with data trees in Grasshopper trying to match two data trees in input. What I need to know is the list of object of the tree T2 correspondent to any given object of the tree T1. I have been looking for a function in the SDK but I could not find it. I have developed a script to do it but it is very inefficient and still I do not know how to handle trees with short paths. Also I understand that the criterion is the longest list on the paths and again in the matching branches but I am not sure.
Is there any function that can be used for this task? At least to find matching paths.
Thanks in advance,