Iterate Datasets (ModelBuilder)

Summary

Iterates over different types of datasets in a workspace.

Learn how Iterate Datasets works in ModelBuilder

Usage

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

Parameters

LabelExplanationData Type
Workspace or Feature Dataset

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

Workspace; Feature Dataset
Wildcard
(Optional)

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

String
Dataset Type
(Optional)

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 .
String
Recursive
(Optional)

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

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

Derived Output

LabelExplanationData Type
Dataset

The full path to the dataset.

Dataset
Name

The name of the dataset.

String

Environments

This tool does not use any geoprocessing environments.

Licensing information

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

Related topics