BimDrawingDwg
Hierarchy
- BimDrawingObject
- BimDrawingDwg
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Parameters
api: BimCoreApi
_drawingSvg: BimSvg
drawingChange: BimChangeDwg
onDisposed: (o: BimDrawingObject) => void
Returns BimDrawingDwg
Properties
publicreadonlydrawingChange
BimChangeDwg or BimChangeBlob that the drawing source is loaded from
Accessors
publicboundingInfo
Bounding info for the drawing plane
Returns BoundingInfo
publicdrawing
Returns BimSvg
publicparentTransformNode
Returns Nullable<TransformNode>
publicvisible
trueif the drawing is visible, otherwisefalse.Returns boolean
Parameters
v: boolean
Returns void
Methods
publicdispose
Dispose the drawing (it is unloaded and will not longer be visualized.)
Returns void
publicforceUpdate
Force the drawing to zoom based on the camera position and render.
Returns Promise<void>
publicinvertBackgroundColor
Set if a DWG should have inverted background color.
Parameters
invert: boolean
trueif you wish to render with inverted background color, otherwisefalse
Returns void
publicsetGrayscale
Set if a DWG should render as grayscale or not.
Parameters
grayscale: boolean
trueif you wish to render as grayscale, otherwisefalse
Returns void
Represents a drawing that has been loaded using the DrawingApi class.