sysFieldList = [] attFields = arcpy.ListFields(fc_name) for attField in attFields: if attField.required: sysFieldList.append(attField.name) print "System Fields", sysFieldList
import arcpy desc = arcpy.Describe(r'path to your featureclass') fldNameShape = desc.shapeFieldName
sysFieldList = [] attFields = arcpy.ListFields(fc_name) for attField in attFields: if attField.required: sysFieldList.append(attField) print "System Fields", sysFieldList
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.