How do I set the zoom/extent of a Map (not the MapFrame) in arcpy.mp?

915
1
Jump to solution
06-02-2017 12:13 PM
Highlighted
New Contributor II

In arcpy.mapping, df.extent would allow me to set the zoom of the map (not the zoom of the data frame on the layout).  Is this functionality available in arcpy.mp?  Additionally, am I able to create a new map within an ArcGIS Pro project with arcpy.mp?

Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Frequent Contributor

This got discussed fairly recently and I think this thread should answer your question

https://community.esri.com/thread/194310-zoom-map-to-an-layer-in-arcpymp-arcgis-pro-project

"I just talked to an arcpy.mp developer and he said zooming on a Map View is not supported in arcpy.mp yet and probably will not be for awhile."

View solution in original post

1 Reply
Highlighted
Frequent Contributor

This got discussed fairly recently and I think this thread should answer your question

https://community.esri.com/thread/194310-zoom-map-to-an-layer-in-arcpymp-arcgis-pro-project

"I just talked to an arcpy.mp developer and he said zooming on a Map View is not supported in arcpy.mp yet and probably will not be for awhile."

View solution in original post