layer_set_visibility
Control whether a layer is visible in the QGIS layer tree by setting its checkbox state.
Instructions
Show or hide a layer in the layer tree (its checkbox state).
Does not affect scale-based visibility rules set via layer_set_scale_visibility.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visible | Yes | ||
| layer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||