create_room_label
Adds a room label with its name and computed area, centered on the floor plan, and creates a BIM space object for schedules and IFC export.
Instructions
Room name with its area (e.g. "36,10 m2") centred in the room, as one block on layer 'textes'.
Give points = the room's CLEAR interior corners (wall faces, e.g. from create_wall_loop's
inner outline and the partition faces): the area is computed and the label centred.
Or give area_m2 and position. Returns the area. The room is also a BIM object (schedules, IFC space):
optional usage (e.g. "Séjour") and floor_finish (e.g. "Carrelage").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| scale | No | ||
| usage | No | ||
| points | No | ||
| area_m2 | No | ||
| position | No | ||
| floor_finish | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||