hzhu

iterator col in row object

Discussion created by hzhu on Aug 3, 2011
Latest reply on Sep 22, 2011 by mnakleh
I was stucked on get the field names from a row object. I have a feature set created from the query task. I want to pass this feature set to a geoprocessing so i can use a search cursor to iterator each feature. However, unless you specify the field name explicitly, you can not iterator the cols in the row. And there is no Describe or list object for featureset so you can get field info. I do want to pass additional parameter to just list the field names for the feature set. Does anyone have any idea how to get field names of a featureset through arcpy or Python?

Outcomes