how can i sort a number of surfaces for an example in Z direction and then delet the first and the last one. without depending on the number of surfaces.
would be great to solve this.
Sort the list of surface by BoundingBox Z and then remove the first and last item from the list.
thx for your quik reply …
ah so the “sort List” is also sorten B-Boxes… and in which way you would delet these items … dispatch ? cull ?
I’m not sure what dispatch does exactly, but you can sort a list and then cull at a given index.
Something like this, perhaps?
SortSurfacesByZAndCull.gh (9.6 KB)