Group elements
group_elementsGroup Archicad elements to move or select them together. Supports nested groups and multiple groups in one undo step, returning group GUID for later operations.
Instructions
Groups elements (Edit > Grouping > Group) so they move/select together. Elements that already belong to a group bring their whole top-level group, which becomes a nested sub-group (same as Archicad). All elements must be on the same story. Pass elements for one group, or groups: [{elements, parentGroup?}] for several in one undo step. Returns {groupGuid, members, elementCount} (with groups: {results: [...]}). The group GUID can be passed to move_elements, delete_elements, ungroup_elements, ... to address the whole group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groups | No | Several groups to create in one undo step | |
| elements | No | At least two elements and/or group GUIDs (all on the same story) | |
| parentGroup | No | Optional existing group GUID to nest the new group into |