arcpy method to convert an extent object to a polygon geomtry object

Idea created by csny490 on Dec 16, 2013
    • Hornbydd
    • johnmdye
    • csny490
    How about a arcpy method to directly convert an extent object to a Polygon object

    For example:
    polyExtentObj = myPolyObj.extent.asPolygon() #Polygons
    polyLineExtentObj = myPolyObj.extent.asPolyline() #Polyline

    Currently you have to parse the extent corners and then create a polygon from them as shown here: . It'd be nice if this was a built in method!