set_layer_symbology
Apply cartographic symbology from a .lyrx file to a target layer in an ArcGIS Pro project. Standardize colors, classifications, labels, and renderers before export.
Instructions
Apply cartographic symbology from a source .lyrx layer file to a named target layer using ArcPy ApplySymbologyFromLayer. Use this to standardize colors, classifications, labels, renderers, and map styling before export or project delivery. Reads the target layer and .lyrx file inside PathGuard allowed roots and saves the .aprx project when save=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||