Update zones (re-detect boundaries)
update_zonesRe-detect and update automatic Archicad zone boundaries after walls, columns, or room separators move, are added, or deleted; report outdated zones with dryRun and skip manual zones.
Instructions
Equivalent of Archicad's Design > Update Zones for AUTOMATIC zones: after walls/columns/room separators were moved, added or deleted, re-detects each zone's boundary from its reference point (a temporary zone is placed there and deleted again) and applies it. Manual zones are skipped (change them with modify_zones). Default: all automatic zones of the project (narrow with 'zones' or 'stories'). method 'copyBoundary' (default) keeps the zone GUID and writes the new polygon into it; 'recreate' replaces each zone by a new one with the same settings, stamp parameters, element ID, classifications and custom property values (NEW GUIDs, associative labels are lost) — use it only if copyBoundary reports an error or verified:false. dryRun:true only reports which zones are 'outdated'. Returns {results: [{guid, status: updated|upToDate|outdated|recreated|skipped, before/after areas, verified, newGuid?} | {guid, error}], summary}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zones | No | Zones to update (default: every automatic zone) | |
| dryRun | No | Only check: report outdated zones (with the re-detected polygon) without changing them | |
| method | No | 'copyBoundary' (default, keeps GUIDs) or 'recreate' (fallback: new zones, new GUIDs) | |
| stories | No | Only zones on these story indices (0 = ground floor, negative = basements; see get_stories) |