Create a closed curve by Revit Detail Lines?

Is it possible to create a closed curve from Detail Lines?close curve FloorOpening_New

I think you should flatten your list of curves.

Thanks that was the problem!