geometry.import_representation to disable apply-default-materials #4832

as material creator is not designed for this option
This commit is contained in:
Andrej730
2024-06-19 16:17:28 +05:00
parent bce6485b91
commit 1e26587bd3
@@ -515,6 +515,7 @@ class Geometry(blenderbim.core.tool.Geometry):
element = tool.Ifc.get_entity(obj)
settings = ifcopenshell.geom.settings()
settings.set("weld-vertices", True)
settings.set("apply-default-materials", False)
context = representation.ContextOfItems
if element.is_a("IfcTypeProduct"):