laptop and a wrench

漏洞

When running a script from a toolbox in ArcGIS Pro, arcpy.env.addOutputsToMap is set to False by default.

上次发布: August 4, 2017 ArcGIS Pro
漏洞 ID 编号 BUG-000105416
已提交May 26, 2017
上次修改时间June 5, 2024
适用范围ArcGIS Pro
找到的版本1.4
操作系统Windows OS
操作系统版本7
状态Will Not Be Addressed

附加信息

Changing of environments and settings within a script tool are sandboxed to that particular tool. They do not update the application-level settings, this is by design, we don't want a setting set in a script tool to have ripples through subsequent tools. The addOutputsToMap setting really only applies after a tool has executed (adding the output of a tool to the map); thus there is really no use case where using this setting in a script tool would apply.

重现步骤

漏洞 ID: BUG-000105416

软件:

  • ArcGIS Pro

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项