Change storeys
edit_levelsAdd, select, update, or delete storeys in a floor plan, set height and elevation, and designate a level as a reference layer for imported plans.
Instructions
Change the storeys. add {name?,h?,elev?} adds one on top (or at elev cm) and selects it; select {id}; delete {id} removes it and its content. update {id, elev?|h?|name?|reference?}: elev raises a storey with its walls, floors and openings (houses on stilts); reference=true marks it a tracing layer (imported plan, older version) that checks and ergonomics skip, which is what you want when two storeys share an elevation. Other tools act on the selected storey. The list is the levels tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | No | Storey height cm for `add` and `update` | |
| id | No | Level id, e.g. `lv3` | |
| elev | No | Floor elevation cm for `add` and `update` (e.g. a house on stilts) | |
| name | No | Storey name for `add` and `update` | |
| action | No | `add`, `select`, `update` or `delete` | |
| reference | No | Mark the storey as a reference layer: a traced plan, a scan, an earlier version. Its content is drawing, not building, so layout checks and ergonomics leave it alone even when it sits at the same elevation as the storey being designed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| v | No | Plan version written to, when there are several | |
| ok | Yes | Always true | |
| ids | No | Ids created or touched | |
| rev | No | Plan revision | |
| text | Yes | The reply as written |