createEmpty MethodStatic

Create an empty local Snapshot iModel file. Snapshots are not synchronized with iModelHub, so do not have a change timeline. @note: A snapshot cannot be modified after close is called.

createEmpty(filePath: string, options: CreateEmptySnapshotIModelProps): SnapshotDb

@returns A writeable SnapshotDb

@see Snapshot iModels

Parameter Type Description
filePath string The file that will contain the new iModel snapshot
options CreateEmptySnapshotIModelProps The parameters that define the new iModel snapshot

Returns - SnapshotDb

A writeable SnapshotDb

Defined in

Last Updated: 14 November, 2024