获取应用程序中的漏洞更新
URL 已复制
共享 URL
漏洞
Validations applied to the Script tool are not honored when the tool is added to a model and the model is run as a geoprocessing tool with the Script tool parameters set as the model parameters.
上次发布: February 3, 2020
ArcGIS for Desktop
漏洞 ID 编号
BUG-000107890
已提交
September 8, 2017
上次修改时间
June 5, 2024
适用范围
ArcGIS for Desktop
找到的版本
10.4
操作系统
N/A
操作系统版本
N/A
状态
Non-Reproducible
在开发团队测试过程中,此问题不可重现。 为问题分配此状态的可能原因包括:问题无法重现,或不再与软件的开发版本相关,但未安装特定修复程序来解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
Please try: Right-click the Script Tool > Properties > Validation tab > Edit Comment out Line 19 - 23 as follows: # if self.params[0].value == "E": # self.params[1].enabled = 1 # else: # self.params[1].enabled = 0
解决办法
Add the logic of model and tool into a single Python script and use it as a standalone script tool.
重现步骤
漏洞 ID: BUG-000107890
软件:
ArcGIS for Desktop
当漏洞状态发生变化时获得通知
下载 Esri 支持应用程序
发现关于本主题的更多内容
Esri Community
搜索相关信息
Training
查找与此主题相关的培训
ArcGIS Ideas
探索想法并提供反馈
获取来自 ArcGIS 专家的帮助
联系技术支持部门
下载 Esri 支持应用程序
转至下载选项