Modify beams
modify_beamsUpdate existing Archicad beams by GUID, changing only specified fields like geometry, level, materials, surfaces, segments, or holes in one undo step.
Instructions
Changes existing beams (one undo step). Each item is {guid, ...fields to change} using exactly the fields of create_beams (begin, end, level, width/height/diameter, arcAngle, slantAngle, buildingMaterial/profile, surfaces, anchor, lines, ...); only the given fields change and they are validated like create_beams. Top-level section/surface fields apply to ALL segments; use 'segments' (full list, {} = unchanged segment) for single segments or the segment count. Holes: 'holes' replaces all, 'addHoles' appends, 'removeHoles' deletes by id. Read the current values first with get_element_details. Non-beam GUIDs are rejected per item. Returns [{guid} | {error}] in input order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| beams | Yes | Patches: {guid, <create_beams field>: newValue, ...} | |
| undoName | No | Name of the undo step shown in Archicad |