Skip to main content
1 of 2
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

I think you need to do something more like this:

for field in fields:
    # add fields with the same properties
    arcpy.AddField_management(feature_class2,field.name)

but with more field properties being used as parameters.

The error message tells you that using the field object rather than accessing its properties is not an option.

PolyGeo
  • 65.4k
  • 29
  • 114
  • 345