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
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.