Tells whether the currently opened project is a Teamwork project.
bool ACAPI_TeamworkControl_HasConnection ( void );
- The current project is a shared Teamwork project.
- The current project is a solo project, or there is no open project at all.
This function tells if the currently project was opened in Teamwork mode, that is the user is joined to a shared Teamwork project on a BIM Server.
Note that being connected to a Teamwork project does not mean necessarily online connection to the server. In order to check the online-offline status, use ACAPI_TeamworkControl_IsOnline.
if (!ACAPI_TeamworkControl_HasConnection ()) ACAPI_WriteReport ("This function is available only in Teamwork mode", true);
- Version: API 13 or later
- Header: ACAPinc.h