iModels

Types for working with iModels in both the frontend and backend.

Classes

Name Description  
BackendError  
BentleyError The error type thrown by this module.  
EcefLocation The position and orientation of an iModel on the earth in ECEF (Earth Centered Earth Fixed) coordinates  
IModel Represents an iModel in JavaScript.  
IModelError The error type thrown by this module.  
IModelVersion Option to specify the version of the iModel to be acquired and used  
NoContentError Intended for API "no content" semantics where the error case should not trigger application failure monitoring systems.  
ServerError  
ServerTimeoutError  

Enumerations

Name Description  
AuthStatus Authentication Errors Beta
BentleyStatus Standard status code.  
BriefcaseIdValue Values of BriefcaseId that have special meaning.  
BriefcaseStatus Error status from various briefcase operations Beta
ChangeSetStatus Error status from various ChangeSet operations Beta
ChangesetType Value to indicate whether a changeset contains schema changes or not  
DbResult Values for return codes from BeSQLite functions.  
DomainOptions Option to control the validation and upgrade of domain schemas in the Db Beta
GeoCoordStatus  
IModelStatus Status codes that are used in conjunction with BentleyError.  
ProfileOptions Options that control whether a profile upgrade should be performed when opening a Db Beta
RepositoryStatus Return codes for methods which perform repository management operations Beta
RpcInterfaceStatus RpcInterface status codes Beta
SchemaState The state of the schemas in the Db compared with what the current version of the software expects Beta
SyncMode Whether a briefcase is editable or may only accept incoming changesets from iModelHub  
TxnAction Describes the types of actions associated with Txns.  

Global Functions

Name Description  
mapToGeoServiceStatus Maps a GeoCoordStatus to the equivalent GeoServiceStatus.  

Interfaces

Name Description  
BriefcaseDownloader Manages the download of a briefcase  
BriefcaseProps Properties that specify a briefcase within the local briefcase cache.  
ChangesetFileProps Properties of a changeset file Beta
ChangesetIdWithIndex The Id and optionally the index of a changeset  
ChangesetIndexAndId Both the index and Id of a changeset  
ChangesetProps Properties of a changeset Beta
ChangesetRange A range of changesets  
CreateIModelProps The properties that can be supplied when creating a new iModel.  
CreateSnapshotIModelProps Options that can be supplied when creating snapshot iModels.  
EcefLocationProps Properties that position an iModel on the earth via ECEF (Earth Centered Earth Fixed) coordinates  
FilePropertyProps  
GeoCoordinatesRequestProps Information required to request conversion of an array of iModel coordinates to Geographic Coordinates (longitude and latitude) Beta
GeoCoordinatesResponseProps Information returned from a request to convert an array of iModel coordinates to Geographic Coordinates (longitude and latitude) Beta
IModelCoordinatesRequestProps Information required to request conversion of an array of Geographic coordinates (Longitude/Latitude) to iModel coordinates Beta
IModelCoordinatesResponseProps Beta
IModelEncryptionProps Encryption-related properties that can be supplied when creating or opening snapshot iModels.  
IModelProps Properties of an iModel that are always held in memory whenever one is opened, both on the frontend and on the backend .  
IModelRpcOpenProps The properties to open a connection to an iModel for RPC operations.  
IModelRpcProps The properties that identify an opened iModel for RPC operations.  
LocalBriefcaseProps Properties of a local briefcase file, returned by BriefcaseManager.getCachedBriefcases and BriefcaseManager.downloadBriefcase  
OpenBriefcaseOptions Options to open a previously downloaded briefcase  
OpenBriefcaseProps Properties for opening a local briefcase file via BriefcaseDb.open  
OpenDbKey A key used to identify an opened IModelDb between the frontend and backend for Rpc and Ipc communications.  
PointWithStatus Information returned from a request to convert an array of Geographic coordinates (Longitude/Latitude) to iModel coordinates Beta
RequestNewBriefcaseProps Properties for downloading a briefcase to a local file, from iModelHub.  
RootSubjectProps Properties of the Root Subject.  
SnapshotOpenOptions Options to open a SnapshotDb.  
UpgradeOptions Arguments to validate and update the profile and domain schemas when opening a Db Beta

Type Aliases

Name Description  
ChangesetId A string that identifies a changeset.  
ChangesetIndex The index of a changeset, assigned by iModelHub.  
ChangesetIndexOrId either changeset index, id, or both  
CreateEmptySnapshotIModelProps The options that can be specified when creating an empty snapshot iModel.  
GetMetaDataFunction  
IModelConnectionProps The properties returned by the backend when creating a new IModelConnection from the frontend, either with Rpc or with Ipc.  
IModelVersionProps Properties for IModelVersion  
LocalDirName  
LocalFileName  
LogFunction  
StandaloneOpenOptions Options to open a StandaloneDb via StandaloneDb.openFile from the backend,  

Last Updated: 29 November, 2022