Select to view content in your preferred language

Domain To Table (Data Management) description_field string length

283
1
07-23-2013 12:52 PM
TristanJoslin
New Contributor
When I use the Domain to Table (Data Management) tool (scripting in Python arcpy) it crashes because it creates the description field length at 255 characters, but one of the domains has Description values larger than that (390 to be exact).

How do I work around this?

Also, all I need to do is access the Code values but the Domain to Table tool requires the description field to be specified.

Is there a way to specify the length of the description field for use in the Domain to Table tool?

OR

Is there a way to access the Code values of a domain without having to create a table using the Domain to Table tool such as using the Describe object properties function perhaps or something similar like saving them to a python list somehow?

Any help with this would be greatly appreciated.  Thank you.
0 Kudos
1 Reply
TristanJoslin
New Contributor
By the way, I am trying to do this in ArcGIS 10.0.  I found the solution of arcpy.da.ListDomains in 10.1, but unfortunately the client needs this tool written in 10.0.
0 Kudos