Show what the plan displays
disciplinesManage electrical and plumbing layers, set active discipline, toggle visibility, and retrieve component quantities.
Instructions
Electrical and plumbing projects and plan layers over the plan. active (default): {active, hidden, layers {key:{pieces, hidden}}} — the discipline new symbols go to, what is hidden, and the layers (lighting, appliances, joinery); get_home gives each piece its plan_layer. quantities: {electrical:[[kind,count,names?]], plumbing:[...], lines_cm:{...}} — grouped by catalog kind (every low outlet together), with the names of the points as the detail. Change what is shown with edit_disciplines.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | `active` (default) or `quantities` |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | No | Discipline drawn on top: electrical, plumbing, or null | |
| hidden | No | Disciplines hidden | |
| layers | No | Plan layers: {lighting, appliances, joinery} → {pieces, hidden} | |
| lines_cm | No | action=quantities: drawn lines by discipline, cm | |
| plumbing | No | action=quantities: [kind, count, names?] | |
| electrical | No | action=quantities: [kind, count, names?] | |
| show_all_3d | No | Every discipline shown in 3D |