Hi all, I am really stuck here. I looked for hours on most forums and couldn’t find anything. I have a tree with several branches and each branch is storing one point. Some points are the same from different branches. I want only the unique points but I don’t want to loose their path information. Is there a way I could achieve this?
DataTree Question for Forum.gh (23.9 KB)
I’m sorry. I uploaded the document with the data internalized. Please let me know if you need anything else. Thank you so much.
Not quite. Your script only filter out the unique points, but there are duplicates of the duplicates. I want to filter out the duplicates in-terms of their path information. Maybe it’ll help if I explain what is this used being for: each point represents a structural load/weight. Somewhere else in the script I have the weight for each point, but my analysis software cannot take multiple points with different loads in the same place. So I want to group the unique-duplicate points(for example there are 14 duplicates, but only 6 among them are unique) but I still want the branch path so that I can filter out the loads and add them in terms of unique-duplicate points.
The way you filter out the unique points is more efficient than mine, so I’m definitely using that bit. Thanks!