Suppose I have a grid of points with branches being the number of columns and items being the number of rows. Suppose I manually add points, duplicating some. I flatten to cull them, but then I want to go back to my tree structure. How can this be done? Thanks.
Well we can’t tell without a file. So without further information you can try:
- Do it in a way without flatten (probably possible if you understand lists well)
- Try the unflatten tree component
- Try the match tree component
- Try the partition list component
Oh sorry Micheal, I was talking about a generic example. But here it is reproduced.Random Duplicate.gh (8.2 KB)
But Kim, I think the “cull duplicates” component works in this case because you have exactly 1 duplicate on each branch. How would it be in my example?
Why don’t you check your each branch data?
Sometimes in your way, there would be no duplicated points in one branch…
I did I did, I thought maybe you would find a way to assign each point/points back to its corresponding branch. (Instead of changing the example)
Here I did it the hard way, and the cull duplicate works fine! Sweet. Thank you.