> On 12 Feb 2019, at 15:47, Curti, M. wrote:
>
> Dear gmsh community,
>
> Is it possible to generate the msh file with the old v2 version using the
> gmsh v4 API for python? If yes, then how?
>
Sure: just do
gmsh.option.setNumber("Mesh.MshFileVersion", 2.)
gmsh.write("file.msh")
or
Hello,
You can use :
Mesh.MshFileVersion = 2;
at the end of your .geo file.
Regards, Guillaume
> Le 12 févr. 2019 à 15:47, Curti, M. a écrit :
>
> Dear gmsh community,
>
> Is it possible to generate the msh file with the old v2 version using the
> gmsh v4 API for python? If yes, then how?