Reference·JavaScript · @bimworks/viewer3dJavaScript

ReferenceToggleState

Interface in @bimworks/viewer3d.

API catalogue · @bimworks/viewer3d · Interface

TypeScript#
interface ReferenceToggleState

One object's Centre line toggle of an object distance (ObjectDistanceMeasurement.referenceToggleState)

Members#

Member Kind Description
disabled Property Whether the toggle cannot be switched
on Property Whether the object is measured on its reference (centre line, axis plane) rather than its surface
reason Property Why it cannot be switched, where that is known, else null

disabled#

TypeScript#
disabled: boolean

Whether the toggle cannot be switched

on#

TypeScript#
on: boolean

Whether the object is measured on its reference (centre line, axis plane) rather than its surface

reason#

TypeScript#
reason: string | null

Why it cannot be switched, where that is known, else null