Select to view content in your preferred language

What is my current default GDB

738
1
12-17-2012 08:21 AM
JonPedder
Deactivated User
Morning folks, a really basic question for you.

How do i determine what my current default GDB is? I've looked through the environment variables and can't seem to find a way to pull this info.

I'm trying to list domains in my GDB without entering an absolute path such as C:\my_data\default.gdb

Thanks
Tags (2)
0 Kudos
1 Reply
MathewCoyle
Honored Contributor
arcpy.env.workspace will pull this for you from your python window in ArcGIS.

Edit: Nevermind, doesn't work when you specify your default gdb.
0 Kudos