laptop and a wrench

漏洞

The Stop tool in ModelBuilder stops iteration even when mulitple inputs do not meet the specified condition.

上次发布: August 25, 2014 ArcGIS for Desktop
漏洞 ID 编号 NIM067700
已提交April 29, 2011
上次修改时间June 5, 2024
适用范围ArcGIS for Desktop
找到的版本10.1
修正版本10.1
状态Fixed

解决办法

1. Add a MultiValue String Variable to the model.2. Set the inputs to the MultiValue variable equal to inline variables from the Boolean variables that are to be evaluated.3. Use the Calculate Value Model tool to evaluate the MultiValue variable for whether all values are true, all values are false or a mixture of both. Below is an example of an expression that can be used for this: def getBool(multiValue): boolList = multiValue.split(";") boolSet = set(boolList) if len(boolSet) == 1: return boolList[0] == "true" else: return False

重现步骤

漏洞 ID: NIM067700

软件:

  • ArcGIS for Desktop

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项