Create PolyLine or Region from an enclosed area with a single click

 Command to create PolyLine or Region from an enclosed area with a single click