Reference·JavaScript · @bimworks/viewercommonJavaScript

ViewpointRestoreReport

Interface in @bimworks/viewercommon.

API catalogue · @bimworks/viewercommon · Interface

TypeScript#
interface ViewpointRestoreReport

What Viewpoints.restore did and could not do

Members#

Member Kind Description
frame Property Which loaded version the coordinates were read in: "exact" the stored one, "same-model" another version of its model, "other-model" another model it recorded…
measurementsNotRestored Property Stored measurements that could not be drawn (a laser whose beams could not be cast, a point that is not one)
missingModels Property Recorded models of which no version is loaded
objectsNotFound Property Stored objects of versions that are not loaded
otherVersions Property Recorded models loaded at another version
parts Property The parts restored

frame#

TypeScript#
frame: "exact" | "same-model" | "other-model" | null

Which loaded version the coordinates were read in: "exact" the stored one, "same-model" another version of its model, "other-model" another model it recorded or any; null with no model loaded (no camera or planes restored then)

measurementsNotRestored#

TypeScript#
measurementsNotRestored: number

Stored measurements that could not be drawn (a laser whose beams could not be cast, a point that is not one)

missingModels#

TypeScript#
missingModels: (ViewpointModel)[]

Recorded models of which no version is loaded

objectsNotFound#

TypeScript#
objectsNotFound: number

Stored objects of versions that are not loaded

otherVersions#

TypeScript#
otherVersions: (ViewpointModel & { loaded_version_uuid: string })[]

Recorded models loaded at another version

parts#

TypeScript#
parts: (ViewpointPart)[]

The parts restored