Apply tree structure to a flattened list?

Hi guys,

I have two group of points, one list is flattened and the other one has a specific tree structure. I need to apply this tree structure to the flattened list, so that the points on this list get ordered according to the order of the second list.

I thought this was a task for Member Index but it does not seems to be working. Maybe it is a tolerance issue, but I played with the values a little bit and no luck. I also checked that the points are identified as identical by using cull duplicates with “cull all” option.

PointOrder.gh (15.8 KB)

Any help much appreciated,
Shynn.

If it’s a tolerance issue, you can comapare two point sets with rounding by any means.

PointOrder_re.gh (21.3 KB)

1 Like

So it was a tolerance issue. Thanks Kim! This will come in handy for further cases.