This question already has an answer here:
I'm using ArcGIS 10.3 and I'm making a script I need to turn the field label of "ROUTE" and put my halo style lebels and add a text to my lebels
this is my script as could modify my script?
layer = arcpy.mapping.ListLayers(mxd, "")[0] if layer.supports("LABELCLASSES"): for lblclass in layer.labelClasses: lblclass.showClassLabels = True lblclass.expression = " [RUTA]" layer.showLabels = True arcpy.RefreshActiveView() This is the expected result
أكثر...
I'm using ArcGIS 10.3 and I'm making a script I need to turn the field label of "ROUTE" and put my halo style lebels and add a text to my lebels
this is my script as could modify my script?
layer = arcpy.mapping.ListLayers(mxd, "")[0] if layer.supports("LABELCLASSES"): for lblclass in layer.labelClasses: lblclass.showClassLabels = True lblclass.expression = " [RUTA]" layer.showLabels = True arcpy.RefreshActiveView() This is the expected result

أكثر...