Create property definitions
create_property_definitionsCreates custom Archicad properties in one undo step, with value types, option sets, defaults, classification availability, and auto-created groups.
Instructions
Creates user-defined (custom) properties in one undo step — like the Property Manager: any value type, option sets (singleEnum/multiEnum with enumValues), default values or expression-based defaults, and availability per classification. IMPORTANT: custom properties appear only on elements whose classification is in the availability — the default 'all' makes it available for every classification item that exists now (elements with no classification never show custom properties). Missing groups are created (createMissingGroups, default true). Then set values with set_property_values. Returns {results: [{guid, name, group, type, availabilityCount, warnings?} | {error}]} in input order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| undoName | No | Name of the undo step shown in Archicad | |
| definitions | Yes | ||
| createMissingGroups | No | Create groups that do not exist yet (default true) |