Select the curves near the end points of other curve

I need to select the curves near the end points of other curve, thanks for helping,
Roy

select curves near points.gh (5.0 KB)

Here’s one way.

select curves near points_re01.gh (13.1 KB)

-Kevin

Hi Kevin,
Thank You!
I would like to ask You this variable, too:
Is it possible to select the same curve without inputting all the curves? I mean, just telling Grasshopper:
“Please select the curve (if it existing) that is passing through the endpoint of my input curve?”
Thank You again,
Roy

I’m not aware of any way to do this, but I suppose it could be possible with a plug-in or script.

-Kevin

ok, thanks for your reply. :+1: