Create a list with lines that do not touch the edge

Hello,

I would like 2 create lists, 1 with all the lines that touches the edge (I have that one) and 1 with all the lines that do NOT touch the edge (like those that are highlighted).

Example.gh (10.5 KB)

Best,
Silas

I think there’s a subtle mistake in the definition as you’ve built it; you’re potentially supplying multiple values (points in fact) as the dispatch pattern. This means your “does touch” list may contain duplicates. If you use “list length” in between “PShift” and “Dispatch” then the “B” output will be the list of lines that do not touch. List length will return 0 or 1 (or 2, or 3, depending on number of intersections) - and those will get converted into false / true.

I would also have guessed that the dispatch would give the “other” lines aswell, but I couldn’t figure out why i didn’t, so thank you for the help.

Best,
Silas

Like this?


Example_re.gh (11.4 KB)

Thank you for helping too, but it works fine with the solution above :slight_smile: