Summary
Iterates over a list of values.
Usage
This tool is intended for use in ModelBuilder and not in Python scripting.
The tool iterates over multiple input values of a single type, such as feature classes, rasters, tables, and so on.
The best practice is to create a stand alone variable by clicking Insert > Create Variable. In the Create Variable dialog box, choose the data type and check Multivalue. Connect the variable to the Input Values parameter of Interate Multivalue using the Add Connection tool .
Interate Multivalue differs from using Iterate Datasets, Iterate Feature Classes, Iterate Rasters, Iterate Tables, or Iterate Files because it gives you the capability of selecting a set of inputs.
If an Iterator is added to a model, all tools in the model iterate for each value in the iterator. If you do not want to run each tool in the model for each iterated value, create a sub-model/model within a model/nested model that contains only the iterator and add it as a model tool into the main model.
Syntax
arcpy.mb.IterateMultivalue(in_values)
Parameter | Explanation | Data Type |
in_values [in_value,...] | Input values to iterate through. | Multiple Value |
Environments
This tool does not use any geoprocessing environments.
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes