rename_layer
Rename a layer in the ArcGIS Pro Contents pane to improve clarity in map outputs. Does not rename the underlying dataset and optionally saves the project.
Instructions
Rename a layer as displayed in the ArcGIS Pro Contents pane by updating lyr.name. Use this to make automated map outputs clearer before export, handoff, or presentation. This renames the map layer only, does not rename the underlying dataset, and saves the .aprx project when save=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||