Fix errors creating objects if default container is hidden #6456

This commit is contained in:
Andrej730
2025-04-01 11:31:03 +05:00
parent 93e7d92076
commit 31c9f60bca
9 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ class DumbSlabGenerator:
ifcopenshell.api.run("pset.edit_pset", self.file, pset=pset, properties={"Engine": "Bonsai.DumbLayer3"})
material = ifcopenshell.util.element.get_material(element)
material.LayerSetDirection = "AXIS3"
obj.select_set(True)
tool.Blender.select_object(obj)
return obj