From 8e73ba68fc83908ae30d8e843c8b5291ff831310 Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Fri, 11 May 2018 10:53:03 +0200 Subject: [PATCH] export mesh timestamp to python --- libsrc/meshing/python_mesh.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libsrc/meshing/python_mesh.cpp b/libsrc/meshing/python_mesh.cpp index 6e041db7..931427c8 100644 --- a/libsrc/meshing/python_mesh.cpp +++ b/libsrc/meshing/python_mesh.cpp @@ -482,6 +482,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m) */ .def("__str__", &ToString) + .def_property_readonly("timestamp", &Mesh::GetTimeStamp) .def("Load", FunctionPointer ([](Mesh & self, const string & filename) {