Create elements (any type)
create_elementsNeed to add multiple Archicad elements? Create any supported type in one undo step by passing an array of element specs with type and fields.
Instructions
Creates elements of ANY supported type in one undo step. Each item is {type: 'Wall'|'Column'|'Beam'|'Slab'|'Roof'|'Shell'|'Mesh'|'Zone'|'Window'|'Door'|'Skylight'|'Opening'|'Object'|'Lamp'|'Line'|'Arc'|'Circle'|'PolyLine'|'Spline'|'Hatch'|'Text'|'Label'|'Dimension'|'LevelDimension'|'Hotspot'|'Morph'|'CurtainWall'|..., ...fields}. The fields are the same as in the type-specific create_* tools (prefer those: they document every field). Returns [{guid, type} | {error}] in input order; one failing item does not stop the others.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elements | Yes | Element specs, each with a 'type' | |
| undoName | No | Name of the undo step shown in Archicad |