laptop and a wrench

Bug

The current view extent does not display without saving the map when running a line of Python code in ArcGIS Pro.

Last Published: October 29, 2019 ArcGIS Pro
Bug ID Number BUG-000125136
SubmittedSeptember 10, 2019
Last ModifiedFebruary 20, 2025
Applies toArcGIS Pro
Version found2.4.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

Based on the notes below, this is by design. Map.defaultExtent is only used when a new map is created, it is not to be used to change the extent of a current map. At version 2.5 we are introducing a new ArcGISProject function called ActiveView. This will allow you to get to the camera of a map that is associated with a view.

Steps to Reproduce

Bug ID: BUG-000125136

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options