Saving a .msh file in an older format

Hi guys

When using Gmsh through Python one can save the model in the .msh format. This is done in the latest format, is it possible to save the file as an older version?

I want to use an older version since it makes it a bit easier for my workflow.

Kind regards

I guess this is more a question for the meshio developers, as it is the software of choice when converting Gmsh to legacy dolfin.

As you haven’t shown what code you are currently trying to use, and if your are experiencing any issues, it is hard to Give you any pointers.

I managed to figure it out, the code is attached below if anyone ever has a similar query.

gmsh.option.setNumber("Mesh.MshFileVersion",2.2) 
gmsh.write("Circle.msh")