openFile MethodStatic
Open a standalone iModel file.
openFile(filePath: string, openMode: OpenModeOpenMode.ReadWrite, options?: SnapshotDbOpenArgs): StandaloneDb
@throws IModelError if the file is not a standalone iModel.
@see BriefcaseConnection.openStandalone to open a StandaloneDb from the frontend
| Parameter | Type | Description | 
|---|---|---|
| filePath | string | The path of the standalone iModel file. | 
| openMode | OpenMode | Optional open mode for the standalone iModel. The default is read/write. | 
| options | SnapshotDbOpenArgs | 
Returns - StandaloneDb
Defined in
- core/backend/src/IModelDb.ts Line 3464
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.