I'm using ArcGIS 10.0 on Windows 7 64 bit Ultimate.
I've noticed that sometimes ArcMap's geoprocessing tools as well as scripts seem to forget my setting in the mxd (confirmed via arcpy.env.workspace
and arcpy.env.scratchWorkspace
.
Is there any way to get ArcMap to start using my specified GDB?
I'm familiar with the document properties and how I can change the default GDB for a map. The issue I'm seeing happens after I've set it and its been using an alternate GDB for a while.
I find that at random times, ArcGIS suddenly decides it wants to go back to using the "default default" (which annoyingly can never be changed. I can close and reopen the document, set the alternate GDB I use as the default againvia the properties dialog, but it will not move back to using the alternative GDB. Toolbox and scripts keep placing output in the default ArcGIS location (documents/ArcGIS/default.gdb).
I was however playing around with this and found manually settings the arc.env.workspace in the Python window seemed to magically bring it back (even though I was setting the same value?). Executing the verbatim sa tool I had just ran put output into the correct GDB even though the dialog settings nor the environment settings had "changed".
Has anyone else come across this behavior?