Please forgive me for being a complete novice at Grasshopper. I’m trying automate some of my work which includes measuring the lengths of line segments that represent structural components, but I need the algorithm to output the segment that starts closets to the z-plan and then move up vertically.