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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"elements": "<elements>"
},
"name": "create_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elements | Yes | Element specs, each with a 'type' | |
| undoName | No | Name of the undo step shown in Archicad |