field()
def field(): ColName = [] CName = arcpy.ListFields("<pathtofolder>/%name%_id.shp", "FID_"+ "%name%"+ "_f*") ColName.insert(0, CName[0].name) return fieldName
def field(): ColName = [] CName = arcpy.ListFields("<pathtofolder>/%name%_id.shp", "FID_"+ "%name%"+ "_s*") ColName.insert(0, CName[0].name) where_clause = ColName[0] +' > -1' return where_clause
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.