Select to view content in your preferred language

Iterating through features without changing extent

1885
1
04-09-2013 08:16 AM
by Anonymous User
Not applicable
What I want to do is iterate through the features of a feature class without changing the zoom level and change the symbology of the selected feature.  Am I correct in assuming that this is not within the parameters of Data Driven Pages?  Are there python tools that modify layer symbology?
0 Kudos
1 Reply
JeffBarrette
Esri Regular Contributor
You are correct, DDP can't be used for this scenario because DDP will change extents for each feature in the index layer.

This can be done using arcpy.mapping.  You can't change the symbology for the individual symbols but what you can do is author an MXD with the appropriate symbology and also set the selection symbol.  Then iterate through the features by performing an arcpy.SelectLayerByAttribute_management on each feature to highlight it.

Jeff
0 Kudos