Geometry Intersect with a twist

Hi all,

I have a question about my Dynamo script (see under my post). I made this for finding what polylines im crossing with my alignment. This works realy well, only the problem arrives when my Alignment crosses the same polyline twice.

Because of this it doesnt count the right amount on what layer it is located on. Anyone that has a solution to this?

Thanks in advance! :smiley:

TEST.dyn (65.6 KB)

Instead of counting “not empty”, why not count the number of items in each list?

I would try to check first if they intersect. and then query the points later if needed.

1 Like

Hi kovacsv,

Thanks a lot, working with the Geometry.Doesintersect worked! I was thinking far to complicated :sweat_smile:

Thanks for the help!

TEST.dyn (55.0 KB)

1 Like