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?
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!
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.