Skip to main content

DxfManager

Manages DXF import and export for technical drawings.

Extends​

Constructors​

new DxfManager()​

new DxfManager(components): DxfManager

const manager = components.get(OBC.DxfManager);
const dxf = manager.exporter.export([{ drawing, viewports: [{ viewport }] }]);

Parameters​

ParameterType
componentsComponents

Returns​

DxfManager

Overrides​

Component.constructor

Properties​

exporter​

readonly exporter: DxfExporter

Handles DXF serialisation of TechnicalDrawing content.

Methods​

isConfigurable()​

isConfigurable(): this is Configurable<any, any>

Whether is component is Configurable.

Returns​

this is Configurable<any, any>

Inherited from​

Component . isConfigurable


isDisposeable()​

isDisposeable(): this is Disposable

Whether is component is Disposable.

Returns​

this is Disposable

Inherited from​

Component . isDisposeable


isHideable()​

isHideable(): this is Hideable

Whether is component is Hideable.

Returns​

this is Hideable

Inherited from​

Component . isHideable


isResizeable()​

isResizeable(): this is Resizeable

Whether is component is Resizeable.

Returns​

this is Resizeable

Inherited from​

Component . isResizeable


isSerializable()​

isSerializable(): this is Serializable<any, Record<string, any>>

Whether is component is Serializable.

Returns​

this is Serializable<any, Record<string, any>>

Inherited from​

Component . isSerializable


isUpdateable()​

isUpdateable(): this is Updateable

Whether is component is Updateable.

Returns​

this is Updateable

Inherited from​

Component . isUpdateable