Any idea why the input requirements for adding a string/text field is different than the 'type' attribute for a string/text field?
For example:
----
myfc = r'C:\Foo\bar.gdb\somefc'
arcpy.AddField_management(myfc, 'MyStringField', 'TEXT',5)
myfc_pyobject = arcpy.ListFields(myfc,'MyStringField')[0]
------
myfc_pyobject.type would print out 'String'
Seems like they should be the same.
Thanks
George