diff --git a/libsrc/occ/python_occ_shapes.cpp b/libsrc/occ/python_occ_shapes.cpp index 09381e4c..fbeb8e5a 100644 --- a/libsrc/occ/python_occ_shapes.cpp +++ b/libsrc/occ/python_occ_shapes.cpp @@ -683,6 +683,10 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m) .export_values() ; + m.def("ResetGlobalShapeProperties", [] () { + OCCGeometry::global_shape_properties.clear(); + OCCGeometry::global_shape_property_indices.Clear(); + }); py::class_ (m, "TopoDS_Shape") .def("__str__", [] (const TopoDS_Shape & shape)