IfcPropertyQuery
A query that checks the properties in the property sets assigned to IFC items.
Extends
Properties
ids
ids:
object
={}
The IDs of the match items per model.
Index signature
[modelID
: string
]: Set
<number
>
Inherited from
inclusive
inclusive:
boolean
=false
If false, ALL rules of the query must comply to make a match. If true, ANY rule will be enough to make a match.
Inherited from
name
name:
string
Overrides
needsUpdate
needsUpdate:
Map
<string
,boolean
>
Whether this query is up to date or not per file. If not, when updating the group where it belongs, it will re-process the given file.
Inherited from
onProgress
readonly
onProgress:Event
<number
>
Event used to notify the progress when performing a query on an IFC file.
Inherited from
rules
rules:
IfcFinderRule
[] =[]
The list of rules to be applied by this query.
Inherited from
importers
static
importers:Map
<string
, (components
,data
) =>IfcFinderQuery
>
The list of functions to import the queries. If you create your own custom query, you should add its importer here. See the other queries provided by the library for reference.
Inherited from
type
static
type:"IfcPropertyQuery"
The type of this query.
Accessors
items
get
items():FragmentIdMap
Returns
FragmentIdMap
Methods
clear()
clear(
modelID
?):void
Clears the data of the given model. If not specified, clears all the data.
Parameters
Parameter | Type | Description |
---|---|---|
modelID ? | string | ID of the model whose data to clear. |
Returns
void
Inherited from
export()
export():
SerializedQuery
Returns
Overrides
update()
update(
modelID
,file
):Promise
<void
>
Parameters
Parameter | Type |
---|---|
modelID | string |
file | File |
Returns
Promise
<void
>
Overrides
import()
static
import(components
,data
):null
|IfcFinderQuery
Imports a query given its data. This data can be generating using its IfcFinderQuery.export method.
Parameters
Parameter | Type | Description |
---|---|---|
components | Components | the instance of Components used by this app. |
data | object | the data of the query to import as a serializable object. |
Returns
null
| IfcFinderQuery
Inherited from
importIds()
static
importIds(data
):object
Imports the given IDs. Only use this when writing your own custom query. See the other queries provided by the library for reference.
Parameters
Parameter | Type | Description |
---|---|---|
data | SerializedQuery | the serialized object representing the query whose IDs to parse. |
Returns
object
Inherited from
importRules()
static
importRules(serializedRules
):IfcFinderRule
[]
Imports the given serialized rules. Only use this when writing your own custom query. See the other queries provided by the library for reference.
Parameters
Parameter | Type | Description |
---|---|---|
serializedRules | object [] | the rules to be parsed. |