ArcGIS Desktop

  • Documentation
  • Support

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

ArcMap

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

Setting environments for an entire model

  • Setting model environments from Model Properties
  • Setting environments using model variables

Geoprocessing environments can be set so that all processes within a model use them. There are two ways to set environments for an entire model:

  • Set the environment in the Environment Settings section of Model Properties.
  • Set the environment using a model variable.

Setting model environments from Model Properties

  1. In the Catalog window or ArcToolbox window, right-click the model tool and click Properties. Or do one of the following:
    • In the ModelBuilder menu, click Model > Model Properties.
    • Right-click anywhere on the model diagram and click Model Properties.
  2. Click the Environments tab.
  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. The values supplied will be used by all processes in the model.
  8. An unchecked environment setting means that the value of the setting will be the same as the passed-down environment.

Setting environments using model variables

A new stand-alone variable or existing variable can be designated for use as an environment setting. The contents or value of the variable will be used for the environment setting.

The steps and example below show how to set the Output Coordinate System environment.

  1. In ModelBuilder, right-click the model canvas and click Create Variable.
  2. From the list of data types, select Coordinate System, then click OK.

    A new variable is added to the model.

  3. Right-click the variable and click Rename. Rename the variable Result Coordinate System.
  4. Right-click the ModelBuilder canvas and click Model Properties, then click the Environments tab.
  5. Expand the tree and check the Output Coordinate System environment.
  6. Click Values. The Environment Settings dialog box opens. Expand Output Coordinates.
  7. In the Output Coordinate System drop-down list, click As Specified Below.
  8. In the unlabeled drop-down list, choose Result Coordinate System (the model variable you created). Click OK.
  9. The value of the Result Coordinate System variable will now be used as the Output Coordinate System environment by all processes in the model.
  10. To expose the Result Coordinate System model variable as a model parameter, right-click the variable and click Model Parameter.
  11. The model below shows this technique using the Clip tool, along with the model's tool dialog box opened from the Catalog window.
    Model environment

Related topics

  • A quick tour of managing model environments
  • Creating stand-alone variables
  • Creating model parameters

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

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

About Esri

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