Meta

Prev Next
This content is currently unavailable in English. You are viewing the default (French) version.

For making query builders, it can be very useful to get information about what feature keys are in your model(s).

Grouping property keys

You can group by propertyset/propertyname combinations. This allows you to quickly get an idea of which properties are used in one or more models. You can further filter by using the WHERE clause.



GET     property.meta,     COUNT(qid) WHERE     type = IFCWALL GROUP BY     property.meta


[{         "property": {             "propertyName": "ExtendToStructure",             "propertySetName": "Pset_WallCommon"         },         "COUNT": {             "name": "COUNT",             "value": 1,             "unit": "UNITLESS",             "type": "int"         }     },... ]

Other grouping examples:



GET     material.name,     COUNT(qid) GROUP BY     material.name


GET   classification.itemReference,     COUNT(qid) GROUP BY     classification.itemReference


GET     quantity.meta,     COUNT(qid) GROUP BY     quantity.meta


GET     attribute.meta,     COUNT(qid) GROUP BY     attribute.meta