Record a learned library part
record_library_partStore the head, height, hinge combos, or leaf states you judged from a learned library part's image, and return the fields still missing before it can be placed.
Instructions
Record what you judged from learn_library_part's image, in the part's stored record. Objects and lamps: head ('+x', '-x', '+y' or '-y', the part's own axis its head points along), one_sided (true or false) and height (metres). The head is the end that goes against the wall: a bed's pillow end, a chair's or sofa's back, not its front. A bed's head is the end with the pillows, or with the duvet's turned-back edge; when the image shows neither, ask. Doors and windows (learned with refSide false): combos, which maps a flag pair (reflected then oSide, t for true and f for false: 'ff', 'tf', 'ft' or 'tt') to [hinge, swing], hinge 'begin' or 'end' of the wall's own direction and swing 'left' or 'right' of it; leaves (a whole number, at least 1); and leaf_states, which maps a state name to GDL parameter values. The lines dividing a window give its sashes, the arcs give which sash or leaf opens and where it is hinged. combos and leaf_states merge by key: recording a key again replaces it, and removing one takes forget and a new learn; every other field replaces its value. One refused value saves nothing. Returns the record and 'missing', the fields still needed before the part can be placed from it. forget=true removes the part's record, which can be learned again, and takes no other field. The part must have been learned first. Writes only the MCP's own learned-parts file, never the model, and needs no Archicad.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| head | No | ||
| name | Yes | ||
| combos | No | ||
| forget | No | ||
| height | No | ||
| leaves | No | ||
| one_sided | No | ||
| leaf_states | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||