This bunch of functions lets your add-on operate in the new Teamwork environment introduced in Archicad 13.
for checking the project status and the online-offline mode:
for checking the user privileges of lockable object sets:
for lockable object set reservation:
for element reservation:
for reservation of the Hotlink/XRef Management
for monitoring reservation changes:
for determining if a given library part is loaded from the BIM server:
for collecting information about the team project, the actual workspace and the effective privileges of the Team Member:
for sending or receiving changes to or from the BIM server:
Lockable object sets are groups of objects (or may consist of a single object) which can be modified separately from the other part of the Teamwork project. Typically attribute containers are lockable object sets. These sets have a special reservation panel on their settings dialog in Teamwork mode to control the exclusive lock on that particular part of the project.
On the API interface lockable object sets are referenced by their object guid. These guids can be obtained with the ACAPI_TeamworkControl_FindLockableObjectSet function using pre-defined identifiers.
In some cases two or more lockable object sets need to be handled simultaneously, for example they can be locked only in the same user interface at the same time, like the Layers and Layer Combinations in the Layer Settings dialog. These sets are grouped under a special lockable object set, which is called compound lockable object set. Compounds are referenced by a pre-defined name, and their guid can also be retrieved by the ACAPI_TeamworkControl_FindLockableObjectSet function.
The pre-defined identifier strings of lockable object sets are listed in the Remarks section of ACAPI_TeamworkControl_FindLockableObjectSet.
The Teamwork_Control example project of the APIDevKit shows samples how to use these functions.