[Gmsh] Getting the opencascade version from python

Christophe Geuzaine cgeuzaine at uliege.be
Mon Dec 9 08:34:21 CET 2019

> On 6 Dec 2019, at 12:29, Jeremy Theler <jeremy at seamplex.com> wrote:
> Hi
> Is there a way to get a string with the OCE/OCCT version the Python
> Gmsh SDK was linked against?
> So far I could only get it by grepping `gmsh -info` for OCC but I would
> like to know the version after importing gmsh in a python script.

Good idea. I've added a new option General.BuildInfo that contains the same information as "gmsh -info". So with the API you can now use



> Regards
> --
> jeremy theler
> www.seamplex.com
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 

More information about the gmsh mailing list