mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-03 05:22:06 +00:00
Fix errors creating objects if default container is hidden #6456
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user