mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 11:33:38 +00:00
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: []
This commit is contained in:
@@ -187,7 +187,7 @@ class Material(blenderbim.core.tool.Material):
|
|||||||
XDim=size,
|
XDim=size,
|
||||||
YDim=size,
|
YDim=size,
|
||||||
)
|
)
|
||||||
material_profile = ifcopenshell.api.run(
|
material_profile = tool.Ifc.run(
|
||||||
"material.add_profile",
|
"material.add_profile",
|
||||||
profile_set=material_set,
|
profile_set=material_set,
|
||||||
material=material,
|
material=material,
|
||||||
|
|||||||
Reference in New Issue
Block a user