Iterate Datasets (ModelBuilder)

License Level:BasicStandardAdvanced

Summary

Iterates over datasets in a Workspace or Feature Dataset.

Learn how Iterate Datasets works in ModelBuilder

Usage

Syntax

IterateDatasets_mb (in_workspace, {wildcard}, {dataset_type}, {recursive})
ParameterExplanationData Type
in_workspace

Workspace folder or a Feature Dataset which stores the dataset to iterate.

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

The Dataset Type, such as CAD, Cover, Feature, GeometricNetwork, Network, Raster, RasterCatalog, Terrain, TIN, and Topology.

String
recursive
(Optional)

Determines if subfolders in the input workspace will be iterated through recursively.

  • 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

ArcGIS for Desktop Basic: Yes
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
6/18/2012