Iterate Feature Selection (ModelBuilder)

Summary

Iterates over features in a feature class.

Learn how Iterate Feature Selection works in ModelBuilder

Usage

Syntax

IterateFeatureSelection_mb (in_features, {fields}, {skip_nulls})
ParameterExplanationData Type
in_features

Input feature class or layer containing features to iterate.

Feature Layer
fields
[[Field, Null Value],...]
(Optional)

Input field or fields used to group the features for selection. Any number of input fields can be defined, resulting in a selection based on a unique combination of the fields. If no field is specified, the OID is used to iterate over features.

Define the null value for the field. By default, null values are included in the selection unless specified or the option to skip all null values is checked. The default values are "" for strings and "0" for numbers.

Value Table
skip_nulls
(Optional)

Determines if null values in the grouping field or fields are skipped during selection.

  • Checked—Skip through all the null values in the grouping fields during selection.
  • Unchecked—Set as default. Include all the null values in the grouping fields during selection.
Boolean

Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcView: Yes
ArcEditor: Yes
ArcInfo: Yes

4/27/2011