ArcGIS 10.1
Hello, I am new to using python. I have figured out how to export specific maps as a jpeg.
What I am trying to do now is use python to zoom into a specific polygon in the data view and export it as a jpeg with the polygon's name.
For context, this will involve multiple polygons within the same shapefiles and will also need to account for multiple shapefiles of this nature.
Help with this would be greatly appreciated !
import arcpy
from arcpy import env
from arcpy import mapping
env.workspace = "CURRENT"
mxd = arcpy.mapping.MapDocument("CURRENT")
df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0]
for lyr in arcpy.mapping.ListLayers(mxd):