Select to view content in your preferred language

Symbol layer drawing using arcpy?

442
1
03-17-2023 12:26 AM
JLezik
by
New Contributor III

Is it possible to enable (and properly set) symbol layer drawing of vector layer with UniqueValueRenderer using python?

I haven't found anything about it anywhere, nor on those related help pages: https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/uniquevaluerenderer-class.htm, https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/symbology-class.htm

 

Thanks,

Jakub

Tags (2)
0 Kudos
1 Reply
Kepa
by Esri Contributor
Esri Contributor

Hello @JLezik,

Not exactly what you are looking for, but here there is a code example of how to access layers' symbology property and how to set colorRamps. Basically you should access your aprx project, list layers from a map and access layer symbology (renderer, colors, field values, etc.) to set proper style.

Hope that helps!

Regards,

0 Kudos