Hi everybody, could someone tell me how to find points with the same x & y values in a list and then keep only one of each with a unique value of z. It’s for a surface from grid of points and i want to delete from the list the points with multiple values of z.
Thanks !
P.S. This code example doesn’t show it but with code like this (using sets), it’s often useful to round off coordinate values to 0.00001 (for example)
1 Like
Thanks for this start of solution
“Start”? Each branch is a list of points with the same X and Y values. it’s easy to sort them by ‘Z’ and choose the first or last. Done!
Sorry, my skill with gh is not big at all, and i don’t know how to keep only the points i want to use for surface grid after that. Thanks for your help…