Tag Info

New answers tagged

0

Maybe try a nested dictionary since domain.codedValues returns a dictionary: domains = arcpy.da.ListDomains("Database Connections\\database.sde") domain_dict = {} for domain in domains: domain_dict[domain.name]=domain.codedvalues Elements = arcpy.listlayoutelements(mxd) For elem in Elements: code = elem.text elem.text = ...



Top 50 recent answers are included