Creating a closed polyline (or region) from lines and arcs

Hello,

I am trying to close a set of lines and arcs (a rectangle with rounded corners, exported as a DXF file from Altium, a PCB design program) into a closed polyline.

Is this possible, and if so what is the command?

Thanks.