How to select the curves which contain specific end points?

I want to select and remove curves that have at least one point among specific points group as an end point. I’m not sure how to divide the original curves into these two groups. I tried to use python script, but don’t know how to handle curve information in python code.

ex4.gh (4.3 KB)

image

Hello,

Like this?


ex4_Re.gh (14.7 KB)

1 Like

It’s exactly what i tried to do. Thank you so much!