Extent of Area of interest using arcpy

470
1
05-16-2019 10:43 PM
DharmaRajan
Occasional Contributor

Dear All,

How to get the extent of a layer(by using Arcpy) named "Area of interest"(it is a graphics layer) which is attached automatically when we open arcmap by using WorkFlowManager?

0 Kudos
1 Reply
DanPatterson_Retired
MVP Emeritus

For a featureclass it is a property of the dataset.  See the code sample at the end of this link

Dataset properties—ArcPy Functions | ArcGIS Desktop 

extent
(Read Only)

The Extent object.

Note:

extent is available for spatial datasets only.

Extent

There are a variety of other 'extent' properties, including those set as and environment variable

0 Kudos