How to sort a list of surfaces by measuring distance from one point

Hello all,

I’m trying to sort a list of surfaces by measuring distance from a point.
But it just doesn’t work.

Anyone could help? please

thank you very much!
unnamed.gh (5.3 KB)

Your title/text doesn’t mention Python. Here’s the GH way:


Srf_CP_2019Jul19a.gh (8.8 KB)

Thanks for your reply, I’m looking for a method in python
but thank you!

In your Python, I noticed that you refer to rs.SurfaceAreaCentroid(srf) and wonder what you would expect from a different data set? (Set #2)



Srf_CP_2019Jul19c.gh (22.9 KB)