Here i have a bunch of generated lines intersecting with a few Breps:
They intersect at these particular points:
I am trying to extract only a few of those points. More specifically, i am only interested in the points with the largest z coordinates for each ray:
For this i will need to put the points in a list and somehow manipulate the list to only give me those specific points back. I hope this isnt too confusing. Any help would be appreciated!
trim tree one level, deconstruct the points and use sort list to filter, reverse the list and use list item will get you first (highest item), roughly speaking due to no file.
3. Attach minimal versions of all the relevant files
If you have a gh file you have a question about, attach it to the post. Do not expect that people will recreate a file based on a screen-shot because that’s a lot of pointless work. It’s also a good idea to remove everything non-essential from a gh file. You can use the Internalise Data menu option to cut everything to the left of a parameter:
Thank you! This is exactly what I needed. A following question. Is there a way to make it so the only point you obtain is the highest point within each line? (Highlighted in red)