External curves

hello everyone, I hope you can help me… I need to be able to filter lines and be able to keep only the outer lines of the curves, the possible reasoning would be that these outer lines are always longer than or equal to the inner lines… the problem It’s how I can compare two by two (parallel)… it could be based on the distance between the two… but I don’t know how to set this up in grasshopper…
Uploading: CURVES.gh…
Uploading: EXTERIORES.jpg…
Uploading: WALLS.3dm…

@juan_garcia1 your files were never uploaded

thanks for answering
I upload the files again
CURVES.gh (13.4 KB)
EXTERIORES
WALLS.3dm (220.2 KB)

If you would be able to group your curves into two groups(based on the building plan fr my point of view), things will be starting to get a lot easier…


CURVES_reV1.gh (15.9 KB)