Architecture: Door / Window
arch_openingCreates a door or window opening in a drawn wall by id, redraws the wall cut, adds jambs, leaf or glazing, and records the opening for schedules.
Instructions
A door or a window in a wall already drawn, found by its id; the wall is redrawn cut.
The opening removes its width from both wall faces and each edge is closed
by a jamb. A door is drawn open at 90° - its leaf as long as the opening is
wide, hinged on hand, with a quarter-arc swing on the swing side; a
window is a frame line on each face and two glazing lines between them. The
opening's ACADMCP_ARCH record sits on the leaf or the frame, so a schedule
reads it back.
Refused before anything is drawn or erased: a wall id not on the drawing (the drawn ids are named), an opening id already drawn, an opening that runs past its wall segment or straddles an axis vertex, one overlapping another opening on the same wall (both ids named), one that runs into a junction (the solid stretch it must fit in is named), an unknown kind, swing, hand or language.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Schedule tag; default the next D1/W1 (en) or K1/P1 (tr) | |
| hand | No | Doors: the hinge jamb, seen from the swing side facing the wall: left | right | left |
| kind | No | door | window | door |
| lang | No | Tag language: en | tr | en |
| sill | No | Windows: sill height (schedule only, mm) | |
| wall | Yes | Id of the drawn wall that hosts the opening | |
| poche | No | Hatch the redrawn wall's cut faces | |
| swing | No | Doors: in = to the left of the axis (inside a CCW perimeter) | out | in |
| width | Yes | Clear width of the opening (mm) | |
| height | No | Opening height (schedule only, mm) | |
| offset | Yes | Distance along the wall's axis from its first point to the near jamb (mm) | |
| opening_id | No | Opening id; default its tag |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||