Create topo subregions from floors

Hi,

I have a few hundreds of floors that mach some subregions I need to do in a toposurface, and and thought I could collect the floors sketches to do the topo work.

However, something is going wrong between the collection of curves and the python code and I can’t figure what it is.

criaSubregionPiso_r1.dyn (26.2 KB)