Hi,
How do I get the extents that are visible in the viewing pane. In old arcpy it would've been:
- import arcpy
- import arcpy.mapping
-
-
- ## Sets the MXD file
- IMXD = arcpy.mapping.MapDocument("CURRENT")
- ## Sets the Dataframe
- DF = arcpy.mapping.ListDataFrames(IMXD, "Layers")[0]
-
- print DF.extent
Any help greatly appreciated.
James
#data frame extent #graphics extent knowni_coop