From d35c5c433f89a6cd7c6160a8867b3125a667276c Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Wed, 21 Jun 2023 11:41:08 +0500 Subject: [PATCH] Fixed missing ifc file in api call after 28cc168 Some bim test was failing because of it FAILED test/bim/test_feature.py::test_assign_material__material_profile_set - AssertionError: No material Default found in profiled materials: [] --- src/blenderbim/blenderbim/tool/material.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blenderbim/blenderbim/tool/material.py b/src/blenderbim/blenderbim/tool/material.py index 6207c5828d..6ffeb8f587 100644 --- a/src/blenderbim/blenderbim/tool/material.py +++ b/src/blenderbim/blenderbim/tool/material.py @@ -187,7 +187,7 @@ class Material(blenderbim.core.tool.Material): XDim=size, YDim=size, ) - material_profile = ifcopenshell.api.run( + material_profile = tool.Ifc.run( "material.add_profile", profile_set=material_set, material=material,