mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 19:07:57 +00:00
BBIM: When adding doors to a wall, maintain the wall as the active object.
This allows adding multiple doors smoothly.
This commit is contained in:
@@ -168,7 +168,10 @@ class AddConstrTypeInstance(bpy.types.Operator):
|
||||
tool.Ifc.run("system.assign_port", element=element, port=new_port)
|
||||
tool.Ifc.run("geometry.edit_object_placement", product=new_port, matrix=mat, is_si=True)
|
||||
|
||||
select_and_activate_single_object(context, obj)
|
||||
if ifc_class == "IfcDoorType" and len(context.selected_objects) >= 1:
|
||||
pass
|
||||
else:
|
||||
select_and_activate_single_object(context, obj)
|
||||
return {"FINISHED"}
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user