Hi,
I am trying to pull down a domain into arcpy to do data validation (making sure conductor attributes on transmission lines have the correct size and type values from a standards table). when I click on the conductorsize field in the attributes pane, i get a domain list that is different than the domain list that is listed in the layer fields domain assigned too it. I apparently don't have permission to upload images, but when i pull the coded domain from the feature layer i get
CONDUCTORSIZE
{0: 'Unknown', 0.0641: '14', 0.072: '13', 0.0808: '12', 0.0907: '11', 0.1019: '10', 0.1144: '9', 0.1285: '8', 0.1443: '7', 0.162: '6', 0.1819: '5', 0.2043: '4', 0.2294: '3', 0.2576: '2', 0.2893: '1', 0.3249: '0', 0.3648: '00', 0.4096: '000', 0.46: '0000', 0.666: '366', 0.792: '477', 0.811: '500'}
the listed domain in the data design: domain matches
clicking on the field in the attributes pane gives me options such as 3/0, 3ST8, #6, 1272
when I pull the data from the layer, conductor size is giving me attribute values that don't exist in the coded domain for the layer, such as 270.0
Solved! Go to Solution.
You must look at the domain assigned to the field in the subtype view, not the field view. If you are using subtype group layers, it only shows the field assignments. You need to open the subtypes field from the catalog pane.
You must look at the domain assigned to the field in the subtype view, not the field view. If you are using subtype group layers, it only shows the field assignments. You need to open the subtypes field from the catalog pane.
Thanks Mike, that was exactly it, a separate subtype domain for the UN subtype. I wasn't aware of how to find those subtype domains.