Skip to main content

Import

Notes

  • The parent of a marker, parentViewId, is a saved plan or a saved roof plan. drawProjectView draws the markers of a roof plan over its roofs, in the same world XZ frame as a storey plan, so one section line can be marked on both:
  • A marker whose parent is any other view, such as a block plan, is refused when the project opens.

resolveProjectViewMarkers

Resolve plan markers without mutating saved intent.

drawProjectViewMarkers

Draw the saved markers of a parent view, a saved plan or roof plan (not a block plan), in its world XZ mapped to drawing XY; a section mark is its cut line in three pieces that abut, an end piece of 10 mm on the paper at each end (cut-end) and the middle between them (cut), so a style can hide or dash the middle and weight the ends, and a head at each end: a 10 mm bubble on the paper, split by a horizontal rule, with the drawing number above and the sheet number below, and the arrow out of the bubble on the look side; a parent view with sectionHeads: 'fit-text' grows the bubble so both numbers fit inside it.

drawPhysicalLevelLabels

Draw authored storey datums inside the vertical crop, with a paper height of 2.5 mm.

Types

ProjectViewMarkerContext

ResolvedProjectViewMarker

ProjectViewMarkerDrawingOptions

number
Arrow length in parent plan world metres. Default 0.3. A section arrow is drawn for 1:100 and keeps that paper size (0.3 m = 3 mm) on every sheet.
number
Printed label height in millimetres. Default 2.5.

ProjectViewMarkerDrawingGroup

Authored marker hit target, separate from BIM element ownership.

PhysicalSavedView

The package does not export this type by name.

PhysicalViewVolume

A vertical physical view in metres, with crop x right, y down and depth along look.
'section' | 'elevation'
required
ViewFrame
required
PlanVectorBounds
required
0
required
The authored view plane is always the near plane.
number
Positive depth from the view plane; absent for an unbounded elevation.

ProjectViewMarkerGeometry

Geometry in parent plan world [x, z] metres; positive Z follows plan screen-down.
Last modified on November 16, 2026