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 is a handy wrapper around IModelReadRpcInterface and IModelWriteRpcInterface. It makes it easy for frontend code to get access to a particular iModel and then read and write element and model properties.

The frontend must obtain an AccessToken to open an IModelConnection. IModelConnection.open takes that as an argument.

Last Updated: 20 September, 2019