Objects without IfcClassificationReference
Are there IfcElements that cannot contain a Classification Reference? At the moment I'm working with IFC models exported from ArchiCad. These models contain multiple Classification References per object, but the entity IfcBuildingElementPart for instance does not contain any. Same with IfcOpeningElement.
The purpose of the script is to identify the objects that do not contain a Classification Reference, but where it is expected to have one.
Code snippit, filterering based upon IfcElement
ifc = ifcopenshell.open(file)
elements = ifc.by_type('IfcElement')
for element in elements:
sublist = get_related_classifications(element)