Move elements
move_elementsMove any Archicad elements by a displacement vector, in one undo step. Pass elements plus vector, or multiple moves, to reposition walls, slabs, objects or zones.
Instructions
Moves elements of ANY type (walls, slabs, objects, zones, lines, dimensions, ...) by a displacement vector, like Edit > Move > Drag. Pass elements + vector to move them all by the same offset, or moves to move different sets by different vectors (all in one undo step). A z component moves model elements vertically (use elevate_elements for pure vertical moves). Windows/doors move along their host wall; connected dimensions and labels follow automatically. Returns {results: [{guid, newGuid?, warning?} | {guid, error}], warnings?} in input order (a 'warning' on an item means Archicad may have ignored it); with copy=true the copy-style result {results: [{guid, copies: [new GUIDs]}], createdCount, additionalCreated?}. Locked elements, elements on locked/hidden layers, hotlinked elements and elements outside your Teamwork workspace are reported with an actionable error instead of being edited. With moves the result is {operations: []}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| moves | No | Alternative to elements+vector: several independent moves [{elements, vector}] in one undo step | |
| vector | No | Displacement applied to `elements`, in meters | |
| elements | No | Elements to move (together with `vector`) | |
| includeGroupMembers | No | Default false: ONLY the listed elements are affected even when they belong to groups (Suspend Groups is switched on for the duration of the call and restored afterwards). true: all members of their (top-level) groups are affected as well. |