Skip to main content

IfcIsolator

Component to isolate certain elements from an IFC and export to another IFC. 📕 Tutorial. 📘 API.

Extends

Properties

enabled

enabled: boolean = true

Component.enabled

Overrides

Component . enabled


uuid

static readonly uuid: "6eb0ba2f-71c0-464e-bcec-2d7c335186b2"

A unique identifier for the component. This UUID is used to register the component within the Components system.

Methods

export()

export(webIfc, modelID, isolatedElements): Promise<Uint8Array>

Exports isolated elements to the new model.

Parameters

ParameterTypeDescription
webIfcIfcAPIThe instance of web-ifc to use.
modelIDnumberID of the new IFC model.
isolatedElementsany[]The array of isolated elements

Returns

Promise<Uint8Array>


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


isUpdateable()

isUpdateable(): this is Updateable

Whether is component is Updateable.

Returns

this is Updateable

Inherited from

Component . isUpdateable