diff --git a/src/blenderbim/blenderbim/bim/import_ifc.py b/src/blenderbim/blenderbim/bim/import_ifc.py index 6fc2c986c3..1c56c29581 100644 --- a/src/blenderbim/blenderbim/bim/import_ifc.py +++ b/src/blenderbim/blenderbim/bim/import_ifc.py @@ -96,7 +96,9 @@ class MaterialCreator: has_parsed = True elif hasattr(element, "RepresentationMaps"): for representation_map in element.RepresentationMaps: - if self.parse_representation(representation_map.MappedRepresentation): + if not representation_map.MappedRepresentation: + has_parsed = True # Accommodate invalid IFC data from Revit + elif self.parse_representation(representation_map.MappedRepresentation): has_parsed = True return has_parsed