SnapshotRestoreOptions

Interface SnapshotRestoreOptions

Options used for restoring a snapshot.

These options allow customization of the snapshot restoration process, enabling selective restoration of specific elements such as annotations, camera settings, or measurements.

Use this type to configure the snapshot restoration process. For example, you can choose to restore only the camera settings or specific elements of the session state.

interface SnapshotRestoreOptions {
    restoreAnnotations?: boolean;
    restoreBackground?: boolean;
    restoreCamera?: boolean;
    restoreClipPlanes?: boolean;
    restoreClipRoom?: boolean;
    restoreDrawingPlanes?: boolean;
    restoreDrawings?: boolean;
    restoreLayerFilter?: boolean;
    restoreMeasurements?: boolean;
    restoreSelection?: boolean;
    restoreTree?: boolean;
}

Properties

restoreAnnotations?: boolean

Specifies whether annotations should be restored.

true
restoreBackground?: boolean

Specifies whether the background should be restored when restoring camera settings.

true
restoreCamera?: boolean

Specifies whether the camera settings should be restored.

true
restoreClipPlanes?: boolean

Specifies whether clip planes should be restored.

true
restoreClipRoom?: boolean

Specifies whether the clip room should be restored.

true
restoreDrawingPlanes?: boolean

Specifies whether drawing planes should be restored.

true
restoreDrawings?: boolean

Specifies whether drawings should be restored.

true
restoreLayerFilter?: boolean

Specifies whether the layer filter should be restored.

true
restoreMeasurements?: boolean

Specifies whether measurements should be restored.

true
restoreSelection?: boolean

Specifies whether the selection state should be restored.

true
restoreTree?: boolean

Specifies whether the tree structure should be restored.

true