rstephany

Describe subtype field domain

Discussion created by rstephany on Nov 30, 2010
I am new to python.  I am trying to describe the domain of a subtype field.

Here is a snippet to describe the domain for a field.  This will not work as my domain are part of the subtype and not the field.
                         desc = gp.Describe("fc_layer")
                         f = []
                         fields = desc.Fields
                         for field in fields:
                              print field.Domain
                              if field.Domain.startswith("Mst_"):
                                   print field.Name
                                   f.append(field)

Any help is greatly appreciated.

Thanks
Ryan

Outcomes