Room Finish Boundry Join Curves

I’m trying to get the room finish boundary and turn them into a curve, but keep getting this error.

Try PolyCurve.BygroupedCurves instead. You may ave a donut shaped room.