Use the -AreaBoundary command to create a PolyLine or a Region from an enclosed area.
It is the command window variant of the AreaBoundary command.
To create area boundaries:
You need at least one point inside a closed area to create a boundary entity. To create other boundary entities, specify additional internal points.
Access
Command: -AreaBoundary