save_layer_file
Save a layer and its symbology to a .lyrx file, allowing consistent reuse across maps and projects.
Instructions
Save a layer with its symbology to a .lyrx file for reuse.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_name | No | Map to act on; defaults to the active map. | |
| layer_name | Yes | Layer or table name as shown by get_layers, or a full dataset path. | |
| output_path | Yes | Output .lyrx path. | |
| relative_paths | No | ABSOLUTE or RELATIVE. | ABSOLUTE |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |