laptop and a wrench

漏洞

Feature layer fails to persist in ArcMap table of contents when added through the AddLayer function in script tool through ArcToolbox and using CURRENT.

上次发布: August 25, 2014 ArcGIS for Desktop
漏洞 ID 编号 NIM052741
已提交January 11, 2010
上次修改时间June 5, 2024
适用范围ArcGIS for Desktop
找到的版本10.0 Beta
操作系统Windows OS
操作系统版本XP
修正版本10.1
状态Fixed

解决办法

Option 1:- If using CURRENT, execute the script from the Python Window instead of ArcToolboxOption 2:- Instead of using CURRENT, access the MXD by file pathOption 3:- If using CURRENT and executing the script via ArcToolbox, add a layer using MakeFeatureLayer tool coupled with the SetParameterAsText method as described in KB31981

重现步骤

漏洞 ID: NIM052741

软件:

  • ArcGIS for Desktop

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项