Create zones
create_zonesCreate Archicad zones/rooms from a manual polygon or an automatic reference point, with names, numbers, category, height, stamp, and fill settings in one undo step.
Instructions
Creates zones (rooms/spaces) in one undo step. Two modes per item: (1) MANUAL: 'polygon' = the outline in meters; (2) AUTOMATIC: 'referencePoint' = a point inside a room enclosed by walls/columns/room separators on that story — Archicad detects the outline (boundary 'InnerEdge' or 'ReferenceLine'); it fails with a clear error if the point is not enclosed. Create the walls first. Set name, number, category (localized ZoneCategory attribute, see get_attributes), height (m), bottomOffset, stamp position/angle, stamp library part + GDL parameters, fill/contour. Unspecified settings come from the Zone tool defaults. Returns [{guid, type} | {error}] in input order. Read areas/volumes back with get_zones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zones | Yes | Zones to create |