Select to view content in your preferred language

Subtype & Domain from GDB to Table

08-20-2015 09:02 AM
New Contributor III

We have a Geodatabase containing an obj class (main table) which has subtypes and these contain domains.

Need a way (scripting) to get those subtypes & domains in a "readable" table.


0 Kudos
2 Replies
Regular Contributor

You could use Domain To Table (Data Management Tools - Domains) and batch the jobs to export all the domains. Not sure about how to export Subtypes though.

8-20-2015 12-36-53 PM.png

Esri Esteemed Contributor

If it is python code you are looking for you could have a look at:

Get coded-value descriptions when accessing data with cursors | ArcPy Café

... and this thread: Batch export coded value domains to table

There are some remarks included in this document: Some Python Snippets

... and the help provides samples on subtypes and domains: