Python scripts that reference other script tools (e.g., Calculate Areas, Feature Class to Geodatabase) corrupt the Describe Object property.
上次发布: August 25, 2014ArcGIS for Desktop
漏洞 ID 编号
NIM048301
已提交
September 16, 2009
上次修改时间
June 5, 2024
适用范围
ArcGIS for Desktop
找到的版本
9.3.1
操作系统
Windows OS
操作系统版本
XP
修正版本
10
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
Delete then re-create the geoprocessor object after each iteration. In the context of the provided example, comment out the initial "gp = arcgisscripting.create() and gp.overwriteoutput = 1", then uncomment them and the 'del gp' in the for loo