Set Application (MXD) Level workspace with ModelBuilder Model

402
1
Jump to solution
05-26-2019 04:38 AM
NealBanerjee
Occasional Contributor

Hello All,

I have a custom toolbox that has a bunch of tools.  I want to add a simple "pre-cursor" tool that sets the changes the default, current, and scratch workspaces to user-defined locations and save those locations such that whatever changes are "seen" by all subsequent models.  Seems like this should be easy, but was not clear best way to do this

Thanks

Neal

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
DuncanHornby
MVP Notable Contributor

You would not need to write a tool if these tools are design to execute from within ArcMap. Simply go to the menu option GeoProcessing > Environment and set your workspaces there. These are at the application level and would thus be inherited by any tools.

View solution in original post

0 Kudos
1 Reply
DuncanHornby
MVP Notable Contributor

You would not need to write a tool if these tools are design to execute from within ArcMap. Simply go to the menu option GeoProcessing > Environment and set your workspaces there. These are at the application level and would thus be inherited by any tools.

0 Kudos