Select to view content in your preferred language

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

1490
1
Jump to solution
06-02-2017 12:13 PM
MatthewCallahan1
Occasional Contributor

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?

0 Kudos
1 Solution

Accepted Solutions
IanMurray
Honored 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
IanMurray
Honored 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."