Zoom to Attribute Table row features

balparmak at gmail.com balparmak at gmail.com
Thu Dec 20 14:39:40 EST 2012



I am working on below a python code in ArcGIS to zoom into shapefile's attribute table row feautes without selected until the end of table one by one.

I am trying to use this code but this one requires that row need to be selected. 

import arcpy
mxd = arcpy.mapping.MapDocument('CURRENT')
df = arcpy.mapping.ListDataFrames(mxd, "Layers") [0]
df.zoomToSelectedFeatures()
arcpy.RefreshActiveView()

Any Help!

Thanks



More information about the Python-list mailing list