How does iterate feature selection work in Python?

How does iterate feature selection work in Python?

Iterates over features in a feature class. This tool is intended for use in ModelBuilder, not in Python scripting. Complex feature classes, such as annotation and dimensions, are not supported by this tool. More than one group by field can be used for the selection.

How does iterate feature selection work in ArcGIS Pro?

Complex feature classes, such as annotation and dimensions, are not supported by this tool. More than one group by field can be used for the selection. If one or more group by fields are selected, the number of iterations is determined by the number of unique combinations of the group by fields.

Can you use the output selected features in ModelBuilder?

The output Selected Features is a feature layer and can be used in other geoprocessing tools that accept a feature layer in ModelBuilder. Complex feature classes, such as annotation and dimensions, are not supported by this tool. More than one group by field can be used for the selection.

What happens when you add an iterator to a model?

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.

When to use the name variable in iterator?

When the iterator Iterate Feature Classes runs, it creates an output variable for both the path and name of the feature class. The value in the Name variable can be used to construct the path to the projected feature class.

What to include in feature selection in ModelBuilder?

Include all the null values in the grouping fields during selection. This is the default. A feature layer that can be used in other geoprocessing tools that accept a feature layer in ModelBuilder. The field values returned by each iteration.