2011/7/27 Christophe Henrard <[email protected]>: > Hello, > Thanks Goerdie for your reply. I tried your idea. Even though I had gone > through all the option parameters, it seemed I had skipped that one. Anyway, > it partially works: some general options are saved in the "OptionFileName" > and some others in "SessionFileName". Unfortunately, it only saves a very > small number of options. I thought it was only the "modified options" (since > you can change that in a dialog box when you manually save options) but it's > not even that. In particular, the camera view (General.RotationX/Y, > ScaleX/Y/Z, TranslationX/Y, Trackball), and Graphics windows and clipping > planes are not saved. Any idea how to save all the options?
No, sorry, I'm out of ideas. I do have to address this issue quite often, as I'll want to make a set of images with exactly the same viewpoint etc. What I do is set the first up manually in the GUI, manually save the options file, and then use that saved options file for the rest. Sometimes I find that there are things that can be done easily enough in the GUI but don't have obvious scripting equivalents. Here saving the options is one. Another earlier this year <http://www.geuz.org/pipermail/gmsh/2011/006145.html> was `Tools/Plugins/New view'. Gmsh does have a nice GUI as GUIs go, but I prefer scripting wherever possible. Hopefully someone else will have hit on the answer and will post it here. _______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
