laptop and a wrench

漏洞

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 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项