Show or hide disciplines
edit_disciplinesSelect or hide plan disciplines and layers (electrical, plumbing, lighting, appliances, joinery) to control what appears in plan and 3D views.
Instructions
Change what the plan shows. select {d: electrical|plumbing|architecture}: new symbols (catalog cat electrical/plumbing) and lines go there and the rest is dimmed; select architecture hides the electrical and plumbing projects (show brings one back); select a project shows it with the architecture dimmed. show/hide {d}, where d can also be a layer of the plan — lighting (lamps, spots, LED), appliances (fridge, stove, oven, hood, washer…) or joinery (cabinets, wardrobes, countertops): hidden from the plan, its exports and the 3D. The 3D follows the plan unless show_all_3d=true, which makes it show everything. Pieces are in a layer by what they are; update(layer=lighting|appliances|joinery|none) overrides it. What is shown now is the disciplines tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| d | No | `electrical`, `plumbing` or `architecture`; for show/hide also a plan layer: `lighting`, `appliances` or `joinery` | |
| action | No | `select`, `show` or `hide` | |
| show_all_3d | No | Whether the 3D shows everything (true) or hides what the plan hides (false). Applies with any action |
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 |