I am trying to draw lines (extending vertical lines to the nearest horizontal line up and down). I am using Closest Point by extracting the End Points of the vertical curves, however, after I pull the points and cull the duplicates to make a polyline, the lines goes from the bottom horizontal line to the top horizontal line which is not what is intended as shown in the picture:
I want the extended line to stay between two closest horizontal lines as shown in the figure below:
Could anyone please provide me a direction or correct what I am doing wrongly because I was looking at the forum and Pull Point seemed to work fine for those. Your help will be much appreciated.
Thanks a lot!
Lines_1.gh (72.4 KB)