diff --git a/src/ifcopenshell-python/ifcopenshell/util/element.py b/src/ifcopenshell-python/ifcopenshell/util/element.py index f3654407d6..11d222d318 100644 --- a/src/ifcopenshell-python/ifcopenshell/util/element.py +++ b/src/ifcopenshell-python/ifcopenshell/util/element.py @@ -435,6 +435,8 @@ def get_materials(element, should_inherit=True): return [p.Material for p in material.MaterialProfiles] elif material.is_a("IfcMaterialConstituentSet"): return [c.Material for c in material.MaterialConstituents] + elif material.is_a("IfcMaterialList"): + return list(material.Materials) def get_styles(element):