See #1676. Space boundaries default to physical internal boundaries.

This commit is contained in:
Dion Moult
2023-05-03 21:21:55 +10:00
parent fcdf3e583f
commit b1761ac393
2 changed files with 3 additions and 1 deletions
@@ -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)
@@ -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()