mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
allow access to global mesh pointer from Python
This commit is contained in:
parent
93c5f98d90
commit
a9c0525891
@ -3574,6 +3574,10 @@ DLL_HEADER void ExportMeshVis()
|
||||
([] (int facenr) {
|
||||
vsmesh.SetSelectedFace(facenr);
|
||||
}));
|
||||
bp::def("GetGlobalMesh", FunctionPointer
|
||||
([] () {
|
||||
return vsmesh.GetMesh();
|
||||
}));
|
||||
}
|
||||
BOOST_PYTHON_MODULE(libvisual)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user