From b1761ac393b69a972393d2ffb79cd60bd5064998 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Wed, 3 May 2023 21:21:55 +1000 Subject: [PATCH] See #1676. Space boundaries default to physical internal boundaries. --- src/blenderbim/blenderbim/bim/module/boundary/operator.py | 2 ++ src/blenderbim/blenderbim/bim/module/cad/workspace.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/blenderbim/blenderbim/bim/module/boundary/operator.py b/src/blenderbim/blenderbim/bim/module/boundary/operator.py index 2c2b0b63e9..a27d0c04d8 100644 --- a/src/blenderbim/blenderbim/bim/module/boundary/operator.py +++ b/src/blenderbim/blenderbim/bim/module/boundary/operator.py @@ -622,6 +622,8 @@ class AddBoundary(bpy.types.Operator, tool.Ifc.Operator): boundary.RelatingSpace = relating_space boundary.RelatedBuildingElement = related_building_element boundary.ConnectionGeometry = connection_geometry + boundary.PhysicalOrVirtualBoundary = "PHYSICAL" + boundary.InternalOrExternalBoundary = "INTERNAL" bpy.data.objects.remove(obj) diff --git a/src/blenderbim/blenderbim/bim/module/cad/workspace.py b/src/blenderbim/blenderbim/bim/module/cad/workspace.py index b4186d504c..ad4fdd676f 100644 --- a/src/blenderbim/blenderbim/bim/module/cad/workspace.py +++ b/src/blenderbim/blenderbim/bim/module/cad/workspace.py @@ -264,7 +264,7 @@ class CadHotkey(bpy.types.Operator): if bpy.context.active_object.data.BIMMeshProperties.subshape_type == "PROFILE": if element.is_a("IfcProfileDef"): bpy.ops.bim.edit_arbitrary_profile() - elif element.is_a("IfcProfileDef"): + elif element.is_a("IfcRelSpaceBoundary"): bpy.ops.bim.edit_boundary_geometry() else: bpy.ops.bim.edit_extrusion_profile()