mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 09:06:53 +00:00
Meshes are auto updated in the IFC as well when edit mode is toggled now.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user