pcb_get_layer_display
Retrieve visibility and color settings for every layer on the active PCB board, including signal, plane, mechanical, and mask layers, to verify display states before recoloring.
Instructions
Visibility and colour for every layer on the active board.
Covers signal, plane, mechanical, mask, paste, silk, keepout and
multilayer. Each entry gives the internal layer id, the user's
name for it, whether it is visible, and its colour both as
Altium's raw integer and as color_hex.
Read this before recolouring: Altium stores a colour as a Windows TColor, which is byte-reversed against the #RRGGBB people write, and getting that backwards produces a plausible wrong colour rather than an error.
Returns:
Dict with layers, count and visible_count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||