ModelBuilder includes a collection of utility tools that support building flexible and powerful models.
Iterators
Iterators enable batch processing and 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 different types of datasets in a workspace. | |
Iterates over feature classes in a workspace or feature dataset. | |
Iterates over features in a feature class. | |
Iterates each value in a field. | |
Iterates fields in a table. | |
Iterates over files in a folder. | |
Iterates layers in a map. | |
Iterates over a list of values. | |
Iterates over rasters in a workspace. | |
Iterates over rows in a table. | |
Iterates over tables in a workspace. | |
Iterates over time in a date field. | |
Iterates over workspaces in a folder. | |
Iterates until a condition becomes true or until a condition comes false. |
Utilities
ModelBuilder utilities include operations for 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 with multiple values. | |
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 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 whether the specified data exists. | |
Evaluates whether the input data matches the specified data type. | |
Evaluates whether a given Python expression is True or False. | |
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. | |
Checks whether the input data includes a selection and whether 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. |