Skip to main content

IfcFinder

Component to make text queries in the IFC.

Extends

Properties

enabled

enabled: boolean = true

Component.enabled

Overrides

Component . enabled


list

list: Map<string, IfcQueryGroup>

List of all created IfcQueryGroup instances.


uuid

static readonly uuid: "0da7ad77-f734-42ca-942f-a074adfd1e3a"

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

Accessors

queries

get queries(): Set <IfcFinderQuery>

List of all queries from all created IfcQueryGroup instances.

Returns

Set <IfcFinderQuery>

Methods

clear()

clear(): void

Deletes all IfcQueryGroup instances.

Returns

void


create()

create(): IfcQueryGroup

Creates a new IfcQueryGroup.

Returns

IfcQueryGroup


delete()

delete(id): void

Creates the IfcQueryGroup with the given ID.

Parameters

ParameterType
idstring

Returns

void


export()

export(): object

Exports all the query groups created. You can then import this data back using the import method.

Returns

object


import()

import(data): void

Imports all the query groups provided in the given data. You can generate this data to save the result of queries and persist it over time.

Parameters

ParameterTypeDescription
dataobjectThe data containing the serialized query groups to import.

Returns

void


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