laptop and a wrench

漏洞

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

上次发布: October 29, 2019 ArcGIS Pro
漏洞 ID 编号 BUG-000125136
已提交September 10, 2019
上次修改时间February 20, 2025
适用范围ArcGIS Pro
找到的版本2.4.1
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Will Not Be Addressed

附加信息

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.

重现步骤

漏洞 ID: BUG-000125136

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项