Skip To Content

For

Summary

Iterates over a starting and ending value by a given value. It works exactly like For in any scripting/programming language, executing through a set number of items.

Learn how For works in ModelBuilder

Usage

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

  • The tool increments the starting value until the maximum specified limit is reached. For example, If the From Value is 0 and To Value is 10 to be incremented By Value 3, the iteration will increment until value 9.

Syntax

For_mb (from, to, increment)
ParameterExplanationData Type
from

Value to start the iteration from.

Long
to

Value to run the iteration to.

Long
increment

Value to increment by.

Long

Environments

This tool does not use any geoprocessing environments.

Licensing information

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