Cull Overlapping Geometry by Size

Hi Forum,

I am using multiple attractor scripts and that has resulted in overlapping symbols radiating from the attractors. When they overlap, I want to cull the smaller of the two. Any ideas for how to approach this are greatly appreciated!

CULL ONE OVERLAPPING CURVE.3dm (18.2 MB)

CULL ONE OVERLAPPING CURVE.gh (46.0 KB)

Try it this way, if that works.

Clever idea, actually. Thank you for the suggestion @leopoldomonzani

This definition is a little more complex but there are two problems to solve.
Does not select “single” polylines.
In a few cases, the two polylines are selected.

CULL ONE OVERLAPPING CURVE a.gh (655.4 KB)