Change dimensions and tags
edit_annotationsSwitch or update dimension chains, room reference schedules, details and symbol legends on a floor plan. Tie dimensions to what they touch, renumber tags in reading order, or bake chains into editable dimensions.
Instructions
Change the plan annotations. anchor=true ties every straight dimension to what its ends touch now, so it is measured again on every change instead of drifting (tie them while the numbers are right); one already off its face is not tied and comes back in left [[id, written, measured, near]], and one whose anchor died with a deleted piece is tied again or released. Switch dims (dimension chains), refs (the room reference schedule, whose tags stay with their pieces; renumber=true numbers them again in reading order), details (brand/model/link in refs) and legend (symbols 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; refs=true returns the schedule {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). annotations reads them.
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 | ||
| ok | No | ||
| ids | No | ||
| rev | No | ||
| dims | No | ||
| left | No | ||
| refs | No | ||
| text | No | ||
| rooms | No | ||
| chains | No | ||
| legend | No | ||
| changed | No | ||
| details | No | ||
| symbols | No | ||
| anchored | No | ||
| released | No |