Scope an unfiltered bim.query().toArray() result down to physical building
elements, for the material summary and validation stats. bim.query() with
no type filter answers with every IfcObjectDefinition occurrence, so
spatial containers, groupings and drafting annotations would otherwise inflate
the material summary and the unnamedElements/duplicateGlobalIds counts (an
IfcAnnotation dimension line never carries a Name and is not a defect).
Excluding rather than testing for IfcElement is deliberate: a positive test
would also drop IfcGrid, IfcPort and the structural-analysis items, which
this fix has no opinion about — they stay counted exactly as before.
Scope an unfiltered
bim.query().toArray()result down to physical building elements, for the material summary and validation stats.bim.query()with no type filter answers with everyIfcObjectDefinitionoccurrence, so spatial containers, groupings and drafting annotations would otherwise inflate the material summary and theunnamedElements/duplicateGlobalIdscounts (anIfcAnnotationdimension line never carries a Name and is not a defect).Excluding rather than testing for
IfcElementis deliberate: a positive test would also dropIfcGrid,IfcPortand the structural-analysis items, which this fix has no opinion about — they stay counted exactly as before.