@robertowhite wrote:
Maybe a simple question but I have a script that takes a series of surfaces and labels them at their centroid. Works well, but I would like to sort the list by the XYZ coordinate of the centroid such that--no matter what order they are selected in--the leftmost, bottommost, etc will always be item "0". I'm sure im missing something here, in grasshoppper its trivial to sort a key by a value.
Can anyone point me in the right direction?
many thanks
Posts: 3
Participants: 2