Support 'Scale' and 'Precision' parameters 'arcpy.AddField_management' in File Geodatabase

06-14-2013 06:33 AM
Status: Open
Labels (1)
Occasional Contributor III

If executing the 'arcpy.AddField_management()' function against a File Geodatabase, the 'Scale' and 'Precision' parameters are ignored. 

This means that in order to set these properties, you have to create an empty feature class, and then  use 'arcpy.FeatureClassToFeatureClass_conversion' and create a series of Field Maps in order to set the field properties.

Not only is that inefficient (I have to create two feature classes, then go back and delete the first) but Scale and Precision are very basic properties of a Geodatabase field.

FeatureClassToFeatureClass_conversion should not be required just to set such basic properties, I should not need to type like 10 lines of code or possibly more, depending on how many fields I need to add,  just to be able to set 'Scale' and 'Precision' for a File Geodatabase field.

You need to fix this like...yesterday, ESRI.