laptop and a wrench

Error

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

Última publicación: October 29, 2019 ArcGIS Pro
Número de ID del error BUG-000125136
EnviadoSeptember 10, 2019
Última modificaciónFebruary 20, 2025
Relacionado conArcGIS Pro
Versión encontrada2.4.1
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoWill Not Be Addressed

Información adicional

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.

Pasos para reproducir

ID del error: BUG-000125136

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga