Before you start
You have a session from Start a building.Write the room
The outline follows the inner faces of the walls. For walls 0.2 metres thick on a 6 by 4 metre outline, the room starts 0.1 metres inside.Add it to the storey
A room is an entry in thespaces list of its storey.
add-element command adds the room to the list, and the session builds it. You keep the session and its undo history. The command rejects an id that the list has.
Read the area
After the build, get the room from the session and read its values.Rules
- You give the outline. Floorkit does not find rooms from walls.
areais in square metres. Holes in the outline are subtracted.show3D: trueshows the room as a translucent volume.
Next
Add a storey
Put a second floor on the building.
Space API
See each option of a space.