diff --git a/src/blenderbim/blenderbim/bim/ifc.py b/src/blenderbim/blenderbim/bim/ifc.py index 4af2d0453f..97d2f301b3 100644 --- a/src/blenderbim/blenderbim/bim/ifc.py +++ b/src/blenderbim/blenderbim/bim/ifc.py @@ -193,7 +193,7 @@ class IfcStore: # Please use tool.Ifc.link() instead of this method. We want to # refactor this class and deprecate usage of IfcStore in favour of # tools. - if isinstance(obj, bpy.types.Mesh): + if not isinstance(obj, (bpy.types.Object, bpy.types.Material)): obj.BIMMeshProperties.ifc_definition_id = element.id() return