loop = gp.listFields(In_Table, "*", "ALL") field = loop.next() while field: # List the name, length and type of every field in the shapefile print "Name: " + field.Name print "Length: " + str(field.Length) print "Type: " + field.Type+"\n" if field.name == "PlanzNr" and field.length == 20 and field.type == "TEXT": ...do something...
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.