diff --git a/libsrc/geom2d/python_geom2d.cpp b/libsrc/geom2d/python_geom2d.cpp index e8bff0b7..a890579b 100644 --- a/libsrc/geom2d/python_geom2d.cpp +++ b/libsrc/geom2d/python_geom2d.cpp @@ -367,6 +367,7 @@ DLL_HEADER void ExportGeom2d(py::module &m) ([] (shared_ptr self) { ng_geometry = self; + py::module::import("netgen").attr("Redraw")(); }) )