Even after I set the path for the default database with arcpy environment variable, ArcMap does not change the default database directory?
At first my arcpy.env.workspace looks like below:
>>> arcpy.env.workspace u'C:\\Users\\email@example.com\\Documents\\ArcGIS\\Default1.gdb'
The Default1.gdb is highlighted by bold font.
Now I will try to set Gurminder as default gdb through the arcpy.env.workspace variable.
>>> arcpy.env.workspace u'C:\\Users\\firstname.lastname@example.org\\Documents\\ArcGIS\\Default1.gdb' >>> arcpy.env.workspace = r"C:\Users\email@example.com\Documents\ArcGIS\Gurminder.gdb" >>> arcpy.env.workspace u'C:\\Users\\firstname.lastname@example.org\\Documents\\ArcGIS\\Gurminder.gdb'
Because of this I am not able to store data in my customized default directory.
The results of clip, resample and other tools are still getting stored in Default1.gdb although I have change the arcpy.env.workspace to Gurminder.gdb
Why is it happening so?