Release (Teamwork)
release_elementsReleases reserved elements and object sets in Archicad Teamwork so others can edit them, sending pending changes. No effect in solo projects.
Instructions
Teamwork: releases reserved elements and/or object sets so others can edit them. Archicad sends your pending changes of the released items with the release (call teamwork_send first to send everything with a comment). Output: {isTeamwork: true, elements?: [{guid, status, released} | {error}], objectSets?: [{name, status, released, apiError?}], warning?}. In a solo (non-Teamwork) project this does nothing and returns {isTeamwork: false, message} — that is not an error: everything is editable without reservation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elements | No | Elements to reserve/release (GUIDs) | |
| objectSets | No | Object sets to reserve/release: needed before editing attributes (e.g. 'Composites' before modifying composites, 'LayerSettings' for layers), favorites, project info or project preferences in Teamwork | |
| enableDialogs | No | Let Archicad show its own Teamwork dialogs (e.g. request/conflict messages). Default false | |
| hotlinkCacheManagement | No | Also reserve/release Hotlink Cache Management (needed to update/relink hotlinks) |