Reference·JavaScript · @bimworks/viewer3dJavaScript

MeshPlacementOptions

Interface in @bimworks/viewer3d.

API catalogue · @bimworks/viewer3d · Interface

TypeScript#
interface MeshPlacementOptions

Options of Viewer3d.startMeshPlacement

Members#

Member Kind Description
attach Property Whether it follows the cursor until a click puts it down, default true
label Property What the mode bar's title calls it: "Place · ", default "the object"
lengthUnit Property The unit of a length typed without one, default "mm"
onCancel Property
onCommit Property

attach#

TypeScript#
attach?: boolean

Whether it follows the cursor until a click puts it down, default true

label#

TypeScript#
label?: string

What the mode bar's title calls it: "Place ·

lengthUnit#

TypeScript#
lengthUnit?: string

The unit of a length typed without one, default "mm"

onCancel#

TypeScript#
onCancel?: () => void

onCommit#

TypeScript#
onCommit?: (result: MeshPlacementResult) => void