diff --git a/src/bonsai/bonsai/tool/geometry.py b/src/bonsai/bonsai/tool/geometry.py index 25f9e43d64..3b632c28db 100644 --- a/src/bonsai/bonsai/tool/geometry.py +++ b/src/bonsai/bonsai/tool/geometry.py @@ -103,6 +103,10 @@ class Geometry(bonsai.core.tool.Geometry): raise Exception("user_remap is not supported for meshes in EDIT mode") old_data.user_remap(new_data) + @classmethod + def get_cache(cls) -> Union[ifcopenshell.geom.serializers.hdf5, None]: + return IfcStore.get_cache() + @classmethod def clear_cache(cls, element: ifcopenshell.entity_instance) -> None: cache = IfcStore.get_cache()