[Gmsh] Is there an "Open" script function similar to "Merge"?

Christophe Geuzaine cgeuzaine at ulg.ac.be
Wed Jan 28 20:58:08 CET 2015

> On 08 Jan 2015, at 19:35, John Moore <johnpmooreiv at gmail.com> wrote:
> I am trying to post-process large data sets stored in MESH2 ascii text format. I loop over the views, and load them with the script function:
> Merge "myfile";
> I then do the visuilization on the file, and then call:
> Delete View[0] so that there is only one view stored at a time.
> However, I find that calling Delete View does not actually get rid of the data that was merged, it only gets rid of the view.
> So my question is: is there a way to load mesh files in a script without merging them? If not, this functionality could be really useful.
> I've included a simple script that does the above for reference.

Would "Delete All;" or "Delete Mesh;" do the trick?

> Thanks,
> John
> <script_unsteady.geo>_______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

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

More information about the gmsh mailing list