Select from list "A" only the geometries that are also in "B"

Hi, I have two list with lines, with 6 Branches each. I need to select the geometries from list A that are also present in list B, respecting the branch orders, that means that I only evaluate A{0} with B{0}, etc.

Thank you

Slect from A if in B.gh (29.1 KB)

20210222_Line Set Intersection.gh (11.1 KB)

1 Like

Thanks Keyu! I woud like to know if it’s possible to replicate it without a script and only with components

You need remove duplicate lines component TT toolbox or similar

Slect from A if in B_.gh (14.2 KB)

2 Likes