ModelBuilder includes a collection of utility tools that support building flexible and powerful models.
Iterators
Iterators enable batch processing and help repeat a process or set of processes on a set of inputs.
Iterator | Description |
---|---|
Iterates over a starting and ending value by a given value. | |
Iterates over datasets in a workspace or feature dataset. | |
Iterates over feature classes in a workspace or feature dataset. | |
Iterates over features in a feature class. | |
Iterates over each value in a field. | |
Iterates fields in a table. | |
Iterates over files in a folder. | |
Iterates over a list of values. | |
Iterates layers in a map. | |
Iterates over rasters in a workspace. | |
Iterates over rows in a table. | |
Iterates over tables in a workspace. | |
Iterates over workspaces in a folder. | |
Iterates until a condition becomes true or until a condition comes false. |
Utilities
ModelBuilder utilities include diverse operations focused on extending the capabilities of a model.
Utility | Description |
---|---|
Returns a value based on a specified Python expression. | |
Collects output values from an iterator or converts a list of values into a single input. The output of Collect Values can be used as input to the Merge, Append, Mosaic, and Cell Statistics tools. | |
Returns the value of the first row of a table for the specified field. | |
The Parse Path tool parses the input into its file, path, name, or extension. The output can be used as inline variable in the output name of other tools. | |
The Select Data tool selects data in a parent data element such as a folder, geodatabase, feature dataset, or coverage. |
Logical
Logical tools are a category of ModelBuilder utilities that help you control the flow of processes in a model and enable if-then-else branching logic.
Utility | Description |
---|---|
Evaluates the input data for the specified coordinate system. | |
Evaluates if the specified data exists. | |
Evaluates if the input data matches the specified data type. | |
Evaluates if a feature class is of the specified feature type. | |
Evaluates if the input data has the specified fields. | |
Evaluates if the values in an attribute field match a specified value, expression, or second field. | |
Evaluates the row count of the input data and checks whether it matches a specified value. | |
Evaluates if the input data has a selection and if a certain number of records are selected. | |
Evaluates whether the inputs have a specified spatial relationship. | |
Evaluates an input value compared to a single value, a list of values, or a range of values using a defined comparison operator. | |
Merges two or more logical branches into a single output. | |
Exits a model out of the iteration loop if the input values are set to true or set to false. For the set of input values, iteration will continue if all the inputs are true and stop if any one of the inputs is false. It is functionally similar to the While tool but is useful to stop a model if there is one While iterator in a model and no additional iterators can be added. |