Skip to main content
Deprecated. LineDimension is retired but not removed. It still works, and it warns once per session when you make one. It has two known faults:
  • It is not saved in the project file, and it does not draw on a sheet or in drawProjectView.
  • Its label is free text. For some directions of the line, the label reads upside down.
Use one of these instead:
  • A sheet measure annotation. It measures two points of a viewport’s model and always shows the real distance. See Compose a sheet.
  • A storey dimension annotation: a dimension in the annotations of a storey of the building model, saved with the storey.

Import

Example

Notes

  • A live dimension lives only in the 3D scene. It has no toDrawing, so a plan extractor cannot draw it.
Inheritance: extends SegmentLine implements IPrimitive

Constructor

string
number[]
required
number[]
required
number
required
number
required
string
required
number
required
number
required
string
number
required

Properties

string
Map<string, THREE.Object3D>
boolean
boolean
LengthDimensionOptions
Array<number>
Array<number>
number
number
number
number
string | undefined
string
number

Methods

setOPConfig

getOPConfig

getEditAnchors

Draggable handles: the two measured endpoints (free on their plane) and an offset grip that slides perpendicular to set spacing.

applyEditAnchor

setOPGeometry

createWitnessLines

createLabel

setOPMaterial

Types

SegmentLine

A two-point StrokeLine with the 2.0 kernel Line options and setConfig, for drawn symbols. The package does not export this type by name.

LengthDimensionOptions

The package does not export this type by name.

SegmentOptions

The 2.0 kernel Line options: one segment from start to end. The package does not export this type by name.
Last modified on November 2, 2026