How to determine closed curve by intersecting with line

Hi Guys,
I have a quick question. Is there anyway to determine those vertical line belong to which closed curve? Kindly note that, those closed curves are on the same plane and vertical lines ain’t.

I have attach herewith a sample file for your reference.
LineIntersect.3dm (51.5 KB)

Any help would be greatly appreciated :slight_smile:


it18.gh (21.6 KB)

2 Likes

If you only want the get the inner curves:

it18.gh (22.5 KB)

2 Likes

@Mahdiyar Thank you very much