I want to number/renumber elements along a line.
Each element finds the shortest distance to the spline (perpendicular). This point on the line is the sorting order. Is there a function in Dynamo for this?
I have made such this program in Grasshopper and there the function was called “Curve Closest Point”
[video width=“1812” height=“764” mp4=“http://dynamobim.com/wp-content/uploads/forum-assets/rune-hauglandnorconsult-com/04/11/2015-04-10_14-40-10.mp4”][/video]
Step by step:
Draw a spline
The objects are renumbered in the order of the spline.