Iterate Multivalue (ModelBuilder)

Summary

Iterates over a list of values.

Learn how Iterate Multivalue works in ModelBuilder

Usage

  • This tool is intended for use in ModelBuilder, 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 > Variable. On the Variable Data Type dialog box, choose the data type and check the Multivalue check box. Connect the variable to the Input Values parameter of Iterate Multivalue.

  • Iterate Multivalue differs from Iterate Datasets, Iterate Feature Classes, Iterate Rasters, Iterate Tables, and Iterate Files in that it gives you the capability to select a set of inputs.

Syntax

arcpy.mb.IterateMultivalue(in_values)
ParameterExplanationData Type
in_values
[in_values,...]

Input values to iterate through.

Any Value

Derived Output

NameExplanationData Type
value

The value returned by each iteration.

Any Value

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes