recalculate fills on applying changes to ifc windows / ifc doors

previously if you'd move the window and then change it's parametric data and try to apply it, opening's position wouldn't be updated
This commit is contained in:
Andrej730
2023-09-25 15:16:07 +05:00
parent 7404357995
commit e6019e8519
@@ -81,6 +81,8 @@ def update_simple_openings(element, opening_width, opening_height):
has_replaced_opening_representation = True
tool.Model.reload_body_representation(voided_objs)
with bpy.context.temp_override(selected_objects=[tool.Ifc.get_object(f) for f in fillings]):
bpy.ops.bim.recalculate_fill()
def update_window_modifier_representation(context, obj):