Materials

Materials and material layers — material.name, color and layerThickness, the classification and properties of a material, the parenthesised multi-material form, filtering, and material.meta.

An object's material comes from its material association: a single material, a layer set (walls, slabs), a profile set or a constituent set. BQL flattens them to one list of materials per object, each with its own fields.

Fields#

Path Value
material.name The material's Name.
material.color The surface colour of the material's style, when it has one.
material.layerThickness The thickness of the material's layer, for layered elements.
material.classification.<field> A classification reference of the material; the fields of Classifications.
material.property.<Pset>.<Name> A property of the material, for example material.property.Pset_MaterialCommon.MassDensity.
material.* Every material with every field.
BQL#
GET qid, attribute.Name, material.name, material.layerThickness WHERE type = IFCWALL

Several material fields at once, grouped per material:

BQL#
GET qid, material(name, layerThickness, color) WHERE type = IFCSLAB
BQL#
GET qid, material.name, material.classification.identity, material.property.Pset_MaterialCommon.MassDensity WHERE type = IFCCOLUMN

In WHERE#

A material condition holds when any of the object's materials matches.

BQL#
GET qid, attribute.Name WHERE material.name = "Aluminium"
BQL#
GET qid, attribute.Name, material(name, layerThickness) WHERE type = IFCWALL AND material.layerThickness > 200 mm

Distribution#

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

material.meta#

material.meta lists which material fields an object has, without the values; selectable only (Meta features).

Used in#