Automatically apply symbols from a .stylx to a layer with Unique Value symbology

86
0
Friday
MarianoDiNapoli
Occasional Contributor

Hi everyone,
I need to automatically update the symbology of a feature layer that uses a Unique Value Renderer, based on symbols stored in a custom stylx file. Each unique value (e.g., a subtype) should get a specific symbol whose name matches the value and already exists in the stylx file. 
I would like to automate the process instead of assigning each symbol manually.

I’m working with arcpy in ArcGIS Pro. What’s the correct way to iterate through unique values and apply the corresponding symbol from the style? Any examples or best practices would be greatly appreciated.

Thank you!

Mariano

0 Replies