Iterate Feature Classes (ModelBuilder)


Iterates over feature classes in a workspace or feature dataset.

Learn how Iterate Feature Classes works in ModelBuilder


  • This tool is only available from ModelBuilder for use in models. The tool is not available from the Geoprocessing pane or from Python.

  • When this tool is used in a model, the first feature class is used as a template for the output. This allows for selection of fields in subsequent tools.

  • The tool has two outputs: Output Feature Class and Name, which could be used as inline variable (e.g. %Name%) in other tools.


LabelExplanationData Type
Workspace or Feature Dataset

Workspace or feature dataset which stores the feature classes to iterate. If you define a geodatabase as your input workspace only the feature classes directly under the geodatabase will be iterated over (standalone feature classes). To iterate over all feature classes within a dataset located in the input geodatabase check the recursive option.

Workspace; Feature Dataset

A combination of * and characters that help to limit the results. The asterisk is the same as specifying ALL. If no wildcard is specified, all inputs will be returned. You can use this parameter to restrict iteration over input names starting with a certain character or word (for example, A* or Ari* or Land* and so on).

Feature Type

The feature type to be used as a filter. Only features of the specified type will be output. Not specifying a feature type means that all features will be output.

  • AnnotationOnly annotation feature classes will be the output.
  • DimensionOnly dimension feature classes will be the output.
  • EdgeOnly edge feature classes will be the output.
  • JunctionOnly junction feature classes will be the output.
  • Line Only line feature classes will be the output.
  • PointOnly point feature classes will be the output.
  • PolygonOnly polygon feature classes will be the output.
  • MultipatchOnly multipatch feature classes will be the output.

Determines if the iterator will iterate through all sub-folders in the main workspace.

  • Checked—Will iterate through all subfolders.
  • Unchecked—Will not iterate through all subfolders.

Derived Output

LabelExplanationData Type
Feature Class

The full path to the feature class.

Feature Class

The name of the feature class.



This tool does not use any geoprocessing environments.

Licensing information

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

Related topics