@twinfinity/experimental
    Preparing search index...

    Class BimDrawingObject

    Represents a drawing that has been loaded using the DrawingApi class.

    Hierarchy (View Summary)

    Index

    Properties

    BimApi

    _drawing: BimDrawing

    BimSvg or BimPdf instance

    _onDisposed: (o: BimDrawingObject) => void

    Callback which is invoked when this.dispose is called-

    drawingChange: BimChangeBlob | BimChangeDwg

    BimChangeDwg or BimChangeBlob that the drawing source is loaded from

    Accessors

    • get boundingInfo(): BoundingInfo

      Bounding info for the drawing plane

      Returns BoundingInfo

    • get parentTransformNode(): Nullable<TransformNode>

      Returns Nullable<TransformNode>

    • get visible(): boolean

      true if the drawing is visible, otherwise false.

      Returns boolean

    • set visible(v: boolean): void

      Parameters

      • v: boolean

      Returns void

    Methods

    • Dispose the drawing (it is unloaded and will not longer be visualized.)

      Returns void

    • Force the drawing to zoom based on the camera position and render.

      Returns Promise<void>