createSnapshot Method


Create a local Snapshot iModel file, using this iModel as a seed or starting point. Snapshots are not synchronized with iModelHub, so do not have a change timeline.

Note: A snapshot cannot be modified after IModelDb.closeSnapshot is called.

createSnapshot(snapshotFile: string): IModelDb

see Snapshot iModels

Parameter Type Description
snapshotFile string The file that will contain the new iModel snapshot

Returns - A writeable IModelDb

Defined in

Last Updated: 08 January, 2020