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.

I tried that but im getting errors when i try to sort by keys

Please create an image of your workspace as per the instructions - what you are showing is completely illegible.