ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Iterate Datasets

  • Summary
  • Usage
  • Syntax
  • Environments
  • Licensing Information

Summary

Iterates over datasets in a Workspace or Feature Dataset.

Learn how Iterate Datasets works in ModelBuilder

Usage

  • This tool is intended for use in ModelBuilder and not in Python scripting.

  • Iterates over datasets of the following type: CAD, Coverage, Feature Dataset, Geometric Network, Mosaic, Network, Parcel Fabric, Raster, Raster Catalog, Schematic, Terrain, TIN, and Topology.

  • The tool has two outputs: Output Dataset and Name which could be used as in-line variable (e.g. %Name%) in other tools.

  • If an Iterator is added to a model, all tools in the model iterate for each value in the iterator. If you do not want to run each tool in the model for each iterated value, create a sub-model/model within a model/nested model that contains only the iterator and add it as a model tool into the main model.

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 to iterate over.

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.
  • CAD —Only CAD dataset will be the output.
  • COVERAGE —Only Cover dataset will be the output.
  • FEATURE —Only Feature dataset will be the output.
  • GEOMETRICNETWORK —Only Geometric Network dataset will be the output.
  • MOSAIC —Only Mosaic dataset will be the output.
  • NETWORK —Only Network dataset will be the output.
  • PARCELFABRIC —Only Parcel Fabric dataset will be the output.
  • RASTER —Only Raster dataset will be the output.
  • RASTERCATALOG —Only Raster Catalog dataset will be the output.
  • SCHEMATIC —Only Schematic dataset will be the output.
  • TERRAIN —Only Terrain dataset will be the output.
  • TIN —Only TIN dataset will be the output.
  • TOPOLOGY —Only Topology dataset will be the output.
Boolean

Environments

This tool does not use any geoprocessing environments

Licensing Information

  • ArcGIS for Desktop Basic: Yes
  • ArcGIS for Desktop Standard: Yes
  • ArcGIS for Desktop Advanced: Yes

Related Topics

  • An overview of the Iterator toolset
  • A quick tour of using iterators
Feedback on this topic?

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal