Set IFC properties / attributes
set_ifc_propertiesAdd, change, or remove stored IFC properties, IFC attributes, and classification references on Archicad elements in one undo step, returning per-entry success or failure.
Instructions
Adds or changes IFC properties stored on elements (custom psets such as 'CC_Pset' or standard ones like Pset_WallCommon), removes stored IFC properties, sets IFC attributes (Name, Description, ObjectType, Tag, LongName, ...) and adds/removes stored IFC classification references (IfcClassificationReference) — one undo step. Property kinds: Single {value}, List {values}, Bounded {lower?, upper?}, Enumerated {values (selected), options}, Table {definingValues, definedValues}. Values are written as given (no unit conversion). Returns {properties?, attributes?, classificationReferences?} with per-entry {succeeded, failed?: [{guid, error}]} | {error}. Read back with get_ifc_data {storedOnly: true}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| undoName | No | Name of the undo step shown in Archicad | |
| attributes | No | ||
| properties | No | ||
| classificationReferences | No | IFC classification references STORED on elements (exported as IfcRelAssociatesClassification). References derived from Archicad classifications are read-only here — classify elements with set_element_classifications instead. |