I am working with the python code below in ArcGIS to zoom into a shapefile's attribute table row features without selected until the end of table one by one.
I am trying to use this code but this one requires that a row is selected.
import arcpy mxd = arcpy.mapping.MapDocument('CURRENT') df = arcpy.mapping.ListDataFrames(mxd, "Layers")  df.zoomToSelectedFeatures() arcpy.RefreshActiveView()
Lets say, I have mapindex shapefile which has a 10 record in the attribute table. I want to zoom into first row automatically, then save the ArcMap .mxd or export as pdf. then move to next row, and do the same process(zoom in, save and export) until the end of record(row 10) in mapindex's attribute table.