Friday, 2 November 2018

arcgis 10.0 - Using ArcPy to zoom to selected feature?


Is there a way to zoom to the extent of a selected feature using the ArcPy module in ArcGIS Desktop 10.



Answer



I'd say yes. The layer class has a getSelectedExtent method, and the Dataframe has an extent property. Haven't tried it though.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...