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.

Zuletzt veröffentlicht: October 29, 2019 ArcGIS Pro
Bug-ID-Nummer BUG-000125136
EingereichtSeptember 10, 2019
Zuletzt geändertFebruary 20, 2025
Gilt fürArcGIS Pro
Gefunden in Version2.4.1
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusWill Not Be Addressed

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000125136

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln