Replace Items

Hello,

I would like to replace points in a list with random points that I moved. I’ve tried to extract the item index of the points but the index does not correspond with the original list. The end goal is to replace the points so I can interpolate the curves with random moved points and later loft the curves. Any help would be very much appreciated.

Thank you.

220715_ReplaceItems.gh (21.5 KB)

This could be a way.


220715_ReplaceItems_re.gh (12.5 KB)

1 Like

You can use Closest Point

220715_ReplaceItems.gh (14.5 KB)

Thank you both, I didn’t realise you can use unflatten tree in that way. This is very helpful!