Hi,Using ArcMap 10 I am trying to add two fields to a shapefile from a standalone Arcpy.the field has been added to the future class after ruing the code BUT:- The field_alias does not show up at the table of the future class even after I manually checked the "Display Field Aliases" from "Layer Properties--> Fields--> Options"# Import arcpy module
import arcpy
# Local variables:
fshape = "C:\\Temp\\test.shp"
try:
# Process: Add Field
# AddField_management (in_table, field_name, field_type, {field_precision}, {field_scale}, {field_length}, {field_alias}, {field_is_nullable}, {field_is_required}, {field_domain})
arcpy.AddField_management(fshape, "Area", "DOUBLE", "2", "", "", "This is not Real Name", "NON_NULLABLE", "NON_REQUIRED", "")
print ("Fields has been Added")
except Exception as e:
print( e.message)
Can you please let me know what I am doing wrong?thanks