Architecture: Label Room
arch_roomLabels the room containing a WCS point with its name, number and area measured from the closed wall faces, net of wall thickness and columns.
Instructions
Label the room around (x, y) with its name, number and MEASURED area.
The area is never typed: the tool reads the wall faces on the wall layer
of the arch set (LINE and lightweight polyline, both engines; anything else
there is listed in skipped), finds the closed face
the point lies in and writes that face's area - net of the wall thickness
and of any column inside it - into the label and into an ACADMCP_ARCH
room record on the name text, which arch_schedule reads. A door or window
recorded on the drawing closes its gap along the wall faces, so two rooms
either side of a door stay two rooms.
Refused before anything is drawn: an unknown lang (named with en, tr), a
number/name the room model refuses, a room_id already labelled on the
drawing, a point in no closed face of the walls (draw or close them first,
or read a plan drawn by other means with arch_rooms_detect), a point
inside a wall body, and a point in a room that already carries a label (one
face, one room record - a retried call does not add a second area to the
schedule).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | WCS X of a point inside the room; the label starts here. | |
| y | Yes | WCS Y of a point inside the room. | |
| lang | No | Label language: en | tr (tr writes 24,50 m²). | en |
| name | Yes | Room name, e.g. LIVING / SALON. | |
| scale | No | Plot-scale denominator: 50 is 1:50 (text x 50). | |
| number | No | Room number, e.g. 01; omit for none. | |
| room_id | No | Record id; default is the first free R<n>. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||