Merge branch 'export_timestamp' into 'master'

export mesh timestamp to python

See merge request jschoeberl/netgen!84
This commit is contained in:
Joachim Schöberl 2018-05-14 18:52:28 +02:00
commit aa13a2fbb4

View File

@ -482,6 +482,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
*/ */
.def("__str__", &ToString<Mesh>) .def("__str__", &ToString<Mesh>)
.def_property_readonly("_timestamp", &Mesh::GetTimeStamp)
.def("Load", FunctionPointer .def("Load", FunctionPointer
([](Mesh & self, const string & filename) ([](Mesh & self, const string & filename)
{ {