Cross referencig data between two tree branches with equal paths


#1

I’m having trouble understanding how and why default data matching between two data tree branches works.
In my case, I have two data trees with same structure and path indices - one containing lines that I want to extrude, and the other one containing vectors for direction of extrusion. Each line has to be extruded on both sides. With cross-reference component I get the desired result, but I don’t get it why isn’t the same result accomplished without it? (correct me if I’m wrong, default seems to be shortest list data matching algorithm). Shouldn’t there be like right click option inside extrude component for choosing shortest list, longest list, and cross-reference data matching?

Thanks!


#2

Hi.
Check attached demo…
Not sure this suited to your case or not, anyway it seems basically the same as your specific data tree…

DataMatching_re.gh (15.0 KB)