Create zone categories
create_zone_categoriesCreates zone categories with name, code and color in Archicad, optionally copying a stamp or existing category settings. Assign them to zones via the category field.
Instructions
Creates zone categories {name, code, color, stamp?}. Without 'stamp' the zone stamp (and its parameters) is copied from 'basedOn' or from the first zone category of the project. Assign it to zones with the zone tools' category field. Runs in one undo step. Returns {results: [{index, name, guid, created: true} | {..., existed: true} | {error}]} in input order; one failing item does not stop the others. Names are localized (Russian Archicad): look existing attributes up with get_attributes first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ifExists | No | Name collision handling for all items: 'error' (default), 'skip' (reuse the existing attribute), 'update' (apply the fields to it) | |
| zoneCategories | Yes |