Hello all!
I am just beginning to learn the very basics of C#. I made an arbitrary curve and placed points on it at regular intervals, now I would like to sort these points and connect them with a polyline (such as in attached image). In this case I would like to sort by x… How do I deconstruct a point in C# and get their x components and sort?
Any ideas appreciated!

sort and connect pts by x.gh (6.2 KB)
3 posts - 2 participants