How to get all field names from table using arcpy.ListFields?

المشرف العام

Administrator
طاقم الإدارة
I have a table:

,

Script at ModelBuilder's "calculate values":

Expression:

a("%path%")Code BLOCK:

def a(path): fields = arcpy.ListFields(path,"FID_*") for field in fields: return field.nameGives me only ONE field name!



أكثر...
 
أعلى