Iterate Feature Classes (ModelBuilder)

Summary

Iterates over feature classes in a Workspace or Feature Dataset.

Learn how Iterate Feature Classes works in ModelBuilder

Usage

Syntax

IterateFeatureClasses_mb (in_workspace, {wildcard}, {feature_type}, {recursive})
ParameterExplanationData Type
in_workspace

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
wildcard
(Optional)

Combination of * and characters that help to limit the results. The asterisk is the same as saying ALL. If no wildcard is specified, all inputs will be returned. For example, it can be used to restrict Iteration over input names starting with a certain character or word (e.g., A* or Ari* or Land*,and so on).

String
feature_type
(Optional)

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.
  • ARCOnly arc features 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.
  • LABELOnly label features classes will be the output.
  • LINE Only line feature classes will be the output.
  • NODEOnly node features (from a coverage) will be the output.
  • POINTOnly point feature classes will be the output.
  • POLYGONOnly polygon feature classes will be the output.
  • REGIONOnly region features (from a coverage) will be the output.
  • ROUTEOnly route features (from a coverage) will be the output.
  • TICOnly tic features (from a coverage) will be the output.
String
recursive
(Optional)

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.
Boolean

Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcView: Yes
ArcEditor: Yes
ArcInfo: Yes

4/27/2011