I'm applying layer files in ARCGIS 10 using the ApplySymbologyFromLayer_management command via a python script tool. The symbology part works fine but the lables are not formatting.
It is my understanding that applying a layer file should also format the lables as well. Has anyone else had this issue? Any ideas would be appreciated.
Here is the code I am using.
import arcpy, os from arcpy import env ## Create parameters for modelbuilder user specified fields. symbolize_layer = arcpy.GetParameterAsText (0) symbol_lyrFile = arcpy.GetParameterAsText (1) arcpy.AddMessage("**** Step 1 ****") # apply symbology arcpy.ApplySymbologyFromLayer_management (symbolize_layer, symbol_lyrFile) arcpy.AddMessage("**** Step 2 ****") # refresh the view arcpy.RefreshActiveView() arcpy.RefreshTOC() arcpy.AddMessage("**** OK now were Done ****")