ArcMap's layer SDE connection overrides the hard-coded arcpy.env.workspace and gp.workspace settings in a script tool when a different connection to the same feature class than the one in the map is referenced in the script.
上次发布: August 25, 2014ArcGIS for Desktop
漏洞 ID 编号
NIM080914
已提交
May 17, 2012
上次修改时间
June 5, 2024
适用范围
ArcGIS for Desktop
找到的版本
9.3.1
操作系统
Windows OS
操作系统版本
XP
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
As Designed
解决办法
Hard code the full path including the connection file to the SDE that contains the correct permissions, instead of setting the workspace.