laptop and a wrench

Bogue

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

Dernière publication: October 29, 2019 ArcGIS Pro
Numéro d’ID de bogue BUG-000125136
EnvoiSeptember 10, 2019
Dernière modificationFebruary 20, 2025
S’applique àArcGIS Pro
Version trouvée2.4.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutWill Not Be Addressed

Informations supplémentaires

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.

Étapes pour reproduire

ID de bogue: BUG-000125136

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement