Hello everyone,
I am trying to automate showing the labeling for one of the layers using arcpy.
The layer has different classes and I want to show the labeling for each class differently.
Any recommendations?
Solved! Go to Solution.
Hello
If you wish to automate this process then you can use ArcPy top get access to a layer in a map and use the createLabelClass() method on a Layer and set its properties for each class of feature within your layer.
Have a look at LabelClass Example 3 at this link to show you how to do this:
https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/labelclass-class.htm
Many thanks ed
Hello
If you wish to automate this process then you can use ArcPy top get access to a layer in a map and use the createLabelClass() method on a Layer and set its properties for each class of feature within your layer.
Have a look at LabelClass Example 3 at this link to show you how to do this:
https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/labelclass-class.htm
Many thanks ed
Thanks for you reply!