Cull curves inside or otuside

Any ideia of how do I cull curves inside/outside from one another?

Point in curves.


Couldn’t figure out how to use this tool.
Also, I was trying to do by thinking that the outside curves has larger areas than inside curves. But couldn’t make a script. (9.9 KB)

thank you!
But it doesn’t always works. Like if we have more, or less holes. Or even no holes.

But you gave me this ideia. I think it’s working now
Anotação 2019-12-16 151413|690x252

Check this as well. (13.6 KB)