Teamwork status
get_teamwork_statusCheck whether the open Archicad project is Teamwork or solo, retrieve reservation status, connection details, members, and access rights before reserving, releasing, sending, or receiving elements.
Instructions
Teamwork (BIMcloud/BIMserver) status of the open project — call this before reserve_elements / release_elements / teamwork_send / teamwork_receive. Solo project: {isTeamwork: false, message, project: {name, path, untitled}} — then nothing needs to be reserved and the teamwork tools do nothing. Teamwork project: {isTeamwork: true, project, teamwork: {hasConnection, online, serverUrl, teamProjectName, loginName, teamProjectLocation}, currentUser: {userId, name}, members?: [{userId, loginName, fullName, connected}], hotlinkCacheManagementReservedBy?, warning? (server offline), elements?: [{guid, status: Free|ReservedByMe|ReservedByOther|ServerUnavailable|NotExist, reservedBy?: [user names]} | {error}], objectSets?: [{name, status, reservedBy?, canCreate, canDeleteModify}], accessRights?: {RightName: bool}}. Only elements with status ReservedByMe (or Free after reserving) can be modified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elements | No | Also return the reservation status of these elements | |
| objectSets | No | Also return the reservation status of object sets: true = all of them, or a list of names | |
| includeMembers | No | List the team members with their online state (default true) | |
| includeAccessRights | No | Return the current user's Teamwork role rights as {RightName: bool} (e.g. LayersCreate, IssuesCreateModify). Default false |