Iterate Datasets (ModelBuilder)


Iterates over different types of datasets in a workspace.

Learn how Iterate Datasets 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.

  • The tool has two outputs: Dataset and Name that can be used as inline variables (for example, %Name%) in other tools.


LabelExplanationData Type
Workspace or Feature Dataset

A workspace or a feature dataset that stores the dataset to iterate.

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

Dataset Type

The dataset type to iterate over.

  • Computer Aided Design (CAD)The output will be a CAD dataset.
  • FeatureThe output will be a feature dataset.
  • Geometric NetworkThe output will be a geometric network dataset.
  • MosaicThe output will be a mosaic dataset.
  • NetworkThe output will be a network dataset.
  • Parcel Fabric For ArcMapThe output will be an ArcMap parcel fabric dataset.
  • Parcel FabricThe output will be a parcel fabric dataset.
  • RasterThe output will be a raster dataset .
  • TerrainThe output will be a terrain dataset.
  • Triangular Irregular Networks (TIN)The output will be a TIN dataset .
  • TopologyThe output will be a topology dataset .

Specifies whether subfolders in the input workspace will be iterated recursively.

  • Checked—Subfolders will be iterated recursively.
  • Unchecked—Subfolders will not be iterated recursively.

Derived Output

LabelExplanationData Type

The full path to the dataset.


The name of the dataset.



This tool does not use any geoprocessing environments.

Licensing information

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

Related topics