Change dimensions and tags
edit_annotationsUpdate floor plan annotations: anchor dimensions to objects, renumber reference tags, edit details, and regenerate legend counts for accurate plans.
Instructions
Change the plan annotations. anchor=true ties every straight dimension to what its ends touch now, and from then on they are measured again on every change instead of drifting — run it while the numbers are still right; one with an end already off its face is not tied and comes back in left [[id, written, measured, near]], to be fixed first; one whose anchor died with a deleted piece is tied again to what it touches now, or else released (no anchor) instead of staying stale. Set any of dims (engineering dimension chains; auto_dimensions in the project JSON), refs (room reference schedule with tags; references — a tag, once given, stays with its piece: new pieces take the next free number and removed ones leave a gap, so a print and the plan a week later agree; renumber=true numbers them again in reading order), details (brand/model/link in refs; reference_details), legend (symbol legend with counts): a switch answers with the modes, changed, and what it shows — chains [[from,to,cm]] for dims, symbols {discipline:[[name,count]]} for legend — not the schedule; refs=true returns {dims,refs,details,legend,rooms:[[room,[[tag,name,w,d,h,brand?,model?,url?]]]]}. bake=true turns the automatic chains into editable dimensions (ids returned). The annotations tool reads them (stale, q, the schedule).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bake | No | Convert the automatic dimension chains into editable dimensions | |
| dims | No | Show engineering dimension chains (`auto_dimensions` in the project JSON) | |
| refs | No | Show the room reference schedule and tags (`references` in the JSON) | |
| anchor | No | Tie every straight dimension to what its ends touch right now, so from here on they follow the drawing. Run it while the numbers are right | |
| legend | No | Legend of electrical/plumbing symbols with counts | |
| details | No | Include brand, model and link in references (`reference_details`) | |
| renumber | No | Number the schedule again in reading order, closing the gaps pieces left behind. Numbers are otherwise kept by each piece for good |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| v | No | Plan version written to, when there are several | |
| ok | No | Always true | |
| ids | No | Ids created or touched | |
| rev | No | Plan revision | |
| dims | No | Dimensions shown | |
| left | No | anchor=true: [id, written, measured, near id] left as they were | |
| refs | No | Reference tags shown | |
| text | No | The reply as written | |
| rooms | No | The schedule: [room, [[tag, name, w, d, h, …]]] | |
| chains | No | dims=true: [[x,y], [x,y], cm] | |
| legend | No | Legend shown | |
| changed | No | Switches that changed | |
| details | No | Details shown | |
| symbols | No | legend=true: {electrical?, plumbing?} → [name, count] | |
| anchored | No | anchor=true: labels now tied to what they measure | |
| released | No | anchor=true: labels let go |