ArcGIS banner

Setting the current and scratch workspaces

Geoprocessing

Segment 3 of 16

Top  Previous  Next

You’ll set the current workspace to point to your Habitat_Analysis file geodatabase. You’ll also set up a scratch workspace to point to your Temp_Results file geodatabase. When building a model it is useful to set up your workspaces in this manner. In each tool’s dialog box, you can simply leave the default path provided (to your scratch workspace) for most outputs. For those outputs you want to keep separate, such as the final result from running the model, you can blank out the default path and type a name for the output from the tool. Such outputs will be placed in the location set for your current workspace. You’ll see this as you build the model in this exercise.

To do so, right-click the ArcToolbox folder and click Environments. Click the General Settings dropdown arrow to expand its contents. For the value of the Current Workspace environment setting, type “C:\GP_Tutorial\Habitat_Analysis.gdb”, or type your alternative location. Alternatively, click the Browse button to navigate to this location.

For the value of the Scratch Workspace environment setting, type “C:\GP_Tutorial\Temp_Results.gdb”, or type your alternative location. Alternatively, click the Browse button to navigate to this location. Click OK.


Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.