Reference·JavaScript · @bimworks/viewer3dJavaScript

FigureEntry

Interface in @bimworks/viewer3d.

API catalogue · @bimworks/viewer3d · Interface

TypeScript#
interface FigureEntry

Members#

Member Kind Description
figure Property The server's figure JSON (metres, model world coordinates), e.g. from GET calculated.quantity.netSurface.figure
id Property Unique within the layer; click and hover report it
qid Property The object the figure belongs to; its version is the model the figure is placed in
selected Property Drawn with a stronger fill
state Property Default "rule"
tooltip Property Shown at the cursor while the figure is hovered
vid Property The model version, when there is no qid

figure#

TypeScript#
figure: QuantityFigure

The server's figure JSON (metres, model world coordinates), e.g. from GET calculated.quantity.netSurface.figure

id#

TypeScript#
id: string

Unique within the layer; click and hover report it

qid#

TypeScript#
qid?: string

The object the figure belongs to; its version is the model the figure is placed in

selected#

TypeScript#
selected?: boolean

Drawn with a stronger fill

state#

TypeScript#
state?: FigureState

Default "rule"

tooltip#

TypeScript#
tooltip?: string

Shown at the cursor while the figure is hovered

vid#

TypeScript#
vid?: string

The model version, when there is no qid