Create multiple polycurves from a list of closed curves?

Is there a way to group from a list of multiple curves which closed curve they are joined and create polycurves from each closed curve?

found.

1 Like

I know you got a solution…but…
I wrote a python code for the case here

And I created a dyn “Floor Layer Separator” here

1 Like