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

A quick tour of managing model environments

  • Model level environmental settings
  • Model process environmental settings

Geoprocessing environment settings are additional parameters that affect a tool's results. They differ from normal tool parameters in that they don't appear on a tool's dialog box (with certain exceptions). Rather, they are values you set once using a separate dialog box and are interrogated and used by tools when they are run.

There are four levels of environment settings: application, tool, model, and model process. All levels contain the same environment variables and have the same effect on output results. They differ only in how you access and set them.

The four environment levels form a hierarchy where the application level is highest. In this hierarchy, environment settings are passed down to the next level, as illustrated below. At each level, you can override the passed-down environment settings with another setting.

  1. Application-level settings are the default and will be applied to any tool when it is executed.
  2. Tool-level settings are applied to a single run of a tool and override the application-level settings.
  3. Model-level settings are specified and saved with a model and override tool- and application-level settings.
  4. Model process-level settings are specified at the model process level, are saved with the model, and override model-level settings.

Model level environmental settings

Model environments can be set for the entire model, but these settings affect a model differently depending on whether you are running a model in ModelBuilder or from its tool dialog box.

If you execute a model using its tool dialog box, the tool environment settings are passed down to the model. If you execute the model using ModelBuilder, the application environment settings are passed down.

Model environment settings are saved with the model, and because of this, the dialog box for setting model environments is different than the dialog box for setting the application or tool environments. On the model environment dialog box, you check which environment settings you will permanently override in the model. Conversely, unchecked settings will use the value of the passed-down application or tool environment.

There are two ways to set environments for an entire model:

  1. Set the environment in the Environment Settings dialog box.
  2. Set the model environment using a model variable.

Learn how to set environments for an entire model

Model process environmental settings

Model environment settings are passed down to model processes (a model process is a tool plus its data). The dialog box for setting a model process environment is the same as that for setting a model's environments. When the model process executes, the model's environments are passed down to the process and any checked environment in the model process overrides the environment settings passed down from the model environment.

There are three ways to set the environment for a model process:

  1. From the process properties
  2. Exposing the environments parameter of a process as a model variables
  3. Connecting a stand-alone environmental setting variable to a process

Learn how to set environments for a model process

Related Topics

  • Setting environments for an entire model
  • Setting environments for a model process
  • Managing intermediate (scratch) data in shared model and script tools
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