mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-02 04:59:52 +00:00
bim.add_element to select added object
This commit is contained in:
@@ -546,6 +546,7 @@ class AddElement(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
elif representation_template == "ROOF":
|
elif representation_template == "ROOF":
|
||||||
with context.temp_override(active_object=obj, selected_objects=[]):
|
with context.temp_override(active_object=obj, selected_objects=[]):
|
||||||
bpy.ops.bim.add_roof()
|
bpy.ops.bim.add_roof()
|
||||||
|
tool.Blender.set_active_object(obj)
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
props = context.scene.BIMRootProperties
|
props = context.scene.BIMRootProperties
|
||||||
|
|||||||
Reference in New Issue
Block a user