diff --git a/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py b/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py index 3f2446fddd..825157ab89 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py @@ -203,8 +203,8 @@ def display_shape(shape, clr=None, viewer_handle=None): return ais_handle -def set_shape_transparency(ais, t): - handle.Context.SetTransparency(ais, t) +def set_shape_transparency(ais, t, update_viewer=True): + handle.Context.SetTransparency(ais, t, update_viewer) def get_bounding_box_center(bbox):