I am trying to order a list of curves so that sequential items (as a list) are listed one after another. Currently, my spiraling curves have no order and are not easy to work with. Basically I want to use adjacent curves to loft and extrude along.
Any suggestions? Does Revit offer sorting based on a curve or circle?
Below I have attached images that show the current situation, as well as my desired layout
Not sure if this will help do what you seem to want.
you may try two steps:
Get the end point of each curve which is nearer or further to the center of the virtual spiral
Get the vector angles of the endpoint to the center point
By sorting the vector angles to sort the curves
Hope this can help you a little because I have not yet figured out how to determine which curve should be the 1st.
As suggested above by Koz Jono Yeoh…
Note the radius of the curves in the shuffled list and the sorted list.