IModelConnection

The frontend of an app does not open a briefcase directly. Instead, it remotely "connects" to a briefcase that is managed by a backend.

IModelConnection is the main class used by frontends to access iModels. It encapsulates the IModelReadRpcInterface and IModelWriteRpcInterface interfaces and provides the mechanism easy for frontend code to access an iModel to read and write element and model properties.

You can create a Blank IModelConnection to show Views of information from sources other than an iModel.

To open a non-blank IModelConnections, you must obtain an AccessToken. IModelConnection.open takes that as an argument.

Last Updated: 13 June, 2024