ignore fields in python

المشرف العام

Administrator
طاقم الإدارة
I am generally just wondering if there is a nice and easy way in python to ignore all fields of a specifiy type (eg string) in a feature class.

At the moment I am doing it with

field_names = [f.name for f in arcpy.ListFields(featureclass)]field_names = field_names[19:len(attrlist)-2]which ignores the first 19 and last 2 fields of my FC which are all string-fields but it would be better for me to have a code which just generally ignores all fields of a specific type



أكثر...
 
أعلى