Hi everyone,
In ArcGIS Pro, I am able to create easily Label Classes from symbology.
But I don't know how to do it in my Python script?
I want my labels to be the same color as the Unique Values symbology I chose for my layer.
Any ideas?
Thanks
Are you looking for access to LabelClass in arcpy?
LabelClass—ArcGIS Pro | Documentation
and/or the UniqueValuesRender?
UniqueValueRenderer—ArcGIS Pro | Documentation
limited examples exist in those topics.
Hi,
I simply want to replicate in my Python code the 'Create label classes from symbology' option available in ArcGIS Pro.
The goal is for the labels generated for the features to have the same color as the features themselves. The features use a Unique Value symbology.
Thanks for the links, I'll check if the answer to my question is somewhere in there.