ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS 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
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Setting environments for a model process

  • Setting process environments from process properties
  • Exposing an environment as a model variable
  • Connecting a stand-alone variable to a process as an environment

Geoprocessing environments can be set so that a single process within a model will use those environment settings. There are three ways to set the environment for an individual model process:

  • From the process properties
  • Exposing an environment as a model variable
  • Connecting a stand-alone variable to a process as an environment

You must be in ModelBuilder to set geoprocessing environments for a single model process.

Setting process environments from process properties

  1. In ModelBuilder, right-click a tool element and click Properties.
  2. On the Properties dialog box, click the Environments tab.

    Environments are presented in an expandable tree view.

  3. Expand the category in which the environment is located.
  4. Check the check box next to the environments you want to set. You can check multiple boxes in multiple categories.
  5. Click Values. The Environment Settings dialog box opens, showing the categories of the settings.
  6. Open each category by clicking the down arrows.
  7. Provide a value for each environment.

Exposing an environment as a model variable

With this method, an environment setting will be created as a model variable and connected to a tool. If this environment variable is set as a model parameter, the environment value can be entered from the model tool dialog box.

  1. In ModelBuilder, right-click a tool, point to Make Variable > From Environment, point to the category, then select the environment.

    A new variable will be added to the model and connected to the tool. The connection will be an environment connector, as indicated by the dashed line.

Connecting a stand-alone variable to a process as an environment

  1. Click the connection tool Add Connection.
  2. Click the stand-alone variable that is to be made an environment.
  3. Click the tool that is to use the stand-alone variable as an environment.
  4. In the dialog box that appears, click Environments, then select the appropriate environment.
  5. Note:

    When connecting a variable to a tool, only the parameters and environment settings that can use the value as input are listed. This is determined by the data type of the parameter or environment setting.

Related topics

  • A quick tour of managing model environments
  • Model elements

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal