Meshes are auto updated in the IFC as well when edit mode is toggled now.

This commit is contained in:
Dion Moult
2021-02-23 19:19:06 +11:00
parent 28fbf0ea99
commit 1e22dbca1e
4 changed files with 36 additions and 3 deletions
@@ -14,6 +14,7 @@ from bpy.props import (
class BIMGeometryProperties(PropertyGroup):
should_auto_update_mesh_representations: BoolProperty(name="Should Auto Update Representations", default=True)
# Revit workaround
should_use_presentation_style_assignment: BoolProperty(name="Force Presentation Style Assignment", default=False)
# RIB iTwo, DESITE BIM workaround
@@ -66,8 +66,9 @@ class BIM_PT_mesh(Panel):
layout = self.layout
props = context.active_object.data.BIMMeshProperties
row = layout.row()
row.operator("bim.map_representation")
sprops = context.scene.BIMGeometryProperties
row = self.layout.row()
row.prop(sprops, "should_auto_update_mesh_representations")
row = layout.row(align=True)
op = row.operator("bim.switch_representation", text="Bake Voids", icon="SELECT_SUBTRACT")