Unlock elements
unlock_elementsUnlocks locked Archicad elements by GUID when another tool reports 'is locked'. For elements on locked layers, unlock the layer first.
Instructions
Unlocks locked elements (Edit > Locking > Unlock). Call this when another tool reports 'is locked'. Elements on a LOCKED LAYER need the layer unlocked instead (layer attribute tools). Returns {results: [{guid, locked: false} | {guid, error}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elements | Yes | Elements to edit: GUID strings (or {guid}) of any element type, e.g. from get_element_details / element search tools. A group GUID stands for all elements of that group. | |
| 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. |