How to prevent the output of model from writing to current workspace?

746
2
12-11-2014 11:45 PM
minalchaudhari
New Contributor

I have created a model to perform a selection, rename and save the output to a specific location. I have used  parse path, since I want my output files to be placed at the same location as the input.

However the output files keep on pointing to the default.gdb due to the "current workspace" setting in the "Environment Settings".

Any ideas how I can get rid of  the current workspace settings.12-12-2014 1-02-28 PM.png

Thanks in advance,

Minal

0 Kudos
2 Replies
DanPatterson_Retired
MVP Emeritus

There is a whole section on controlling modelbuilder environment settings in the help files which may be worth a read.  I also noticed that in your model you have several processes that are stacked...are these the result of various runs or they truly stacked (ie check expression, output and renamed)

0 Kudos
minalchaudhari
New Contributor

Yes it is stacked, since I am performing multiple queries in same file.

0 Kudos