bim.add_element to select added object

This commit is contained in:
Andrej730
2025-01-13 11:46:36 +05:00
parent 0601802005
commit 74c6480808
@@ -546,6 +546,7 @@ class AddElement(bpy.types.Operator, tool.Ifc.Operator):
elif representation_template == "ROOF":
with context.temp_override(active_object=obj, selected_objects=[]):
bpy.ops.bim.add_roof()
tool.Blender.set_active_object(obj)
def draw(self, context):
props = context.scene.BIMRootProperties