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
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.