<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font face="Arial">Thank you very much for your f</font>ast support.
    I'll try that version as soon as possible.<br>
    <div class="moz-signature">
      <title>Samtech Signature</title>
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div align="left">
        <font face="Arial" size="3">Kind regards,<br>
          Christophe H.<br>
            <a
href="addbook:add?action=add?vcard=begin%3Avcard%0D%0Afn%3AChristophe%20Henrard%0D%0An%3AHenrard%3BChristophe%0D%0Aorg%3ASamtech%20s.a.%0D%0Aadr%3Bquoted-printable%3A%3B%3BRue%20des%20Chasseurs%20Ardenais%2C%208%3BLi%3DC3%3DA8ge%3B%3B4031%3BBelgium%0D%0Aemail%3Binternet%3AChristophe.Henrard%40samtech.com%0D%0Atitle%3AR%26D%20Engineer%0D%0Atel%3Bwork%3A+32%280%294.361.69.69%0D%0Atel%3Bfax%3A+32%280%294.361.69.80%0D%0Aurl%3Ahttp%3A//www.samtech.com%0D%0Aversion%3A2.1%0D%0Aend%3Avcard">
          </a></font><br>
      </div>
    </div>
    On 09-Aug-11 1:32 PM, Christophe Geuzaine wrote:
    <blockquote
      cite="mid:4068991E-E37F-4F6A-9701-F4B6A1D38930@ulg.ac.be"
      type="cite">
      <pre wrap="">
On 08 Aug 2011, at 09:47, Christophe Henrard wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">Hi,
Thanks for clarifying this. Your suggestion sounds like a good idea to me. I think it would indeed be useful to give the user the possibility to save all the options.
</pre>
      </blockquote>
      <pre wrap="">
Ok: starting with svn r9706 setting "General.SaveOptions=2;" will save per-model options automatically when you exit.



</pre>
      <blockquote type="cite">
        <pre wrap="">Have a nice day,
Christophe


On 06-Aug-11 3:40 PM, Christophe Geuzaine wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hi guys,

We should indeed clarify/enhance the "save options" behavior. At the moment we can choose between three "levels" when saving options: 

- "session" (gets saved by default in .gmshrc on exit)
- "option" (can get saved in .gmsh-options on exit, or is saved there manually when choosing "Save Options->As default")
- "full" (used when explicitly saving the options)

Maybe we could provide a way to save the options for the current file each time we exit? This could make Gmsh be completely "persistent" per model. Or do you have other suggestions?

Let me know what you think.

Christophe

On 28 Jul 2011, at 10:48, Christophe Henrard wrote:


</pre>
          <blockquote type="cite">
            <pre wrap="">Hello,

Thanks again for your answer. I totally agree with you: it's sometimes hard to find a scripting equivalent to some of the GUI commands. I do something very similar to you in terms of saving options and restarting with a script that reloads them. And I must say that I'm quite happy with it so far. 
But in order to be even more efficient, I wanted gmsh to automatically save the options upon exit (as if I had done it with the menus) and then, my script would ask me if I want to keep these options or not for next time. It might be available in one of the next releases ;-)

Christophe
  
On 28-Jul-11 1:25 AM, Geordie McBain wrote:

</pre>
            <blockquote type="cite">
              <pre wrap="">2011/7/27 Christophe Henrard <a class="moz-txt-link-rfc2396E" href="mailto:Christophe.Henrard@samtech.com"><Christophe.Henrard@samtech.com></a>

:


</pre>
              <blockquote type="cite">
                <pre wrap="">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?


</pre>
              </blockquote>
              <pre wrap="">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


<a class="moz-txt-link-rfc2396E" href="http://www.geuz.org/pipermail/gmsh/2011/006145.html"><http://www.geuz.org/pipermail/gmsh/2011/006145.html></a>

 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.



</pre>
            </blockquote>
            <pre wrap="">-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. _______________________________________________
gmsh mailing list

<a class="moz-txt-link-abbreviated" href="mailto:gmsh@geuz.org">gmsh@geuz.org</a>
<a class="moz-txt-link-freetext" href="http://www.geuz.org/mailman/listinfo/gmsh">http://www.geuz.org/mailman/listinfo/gmsh</a>
</pre>
          </blockquote>
        </blockquote>
        <pre wrap="">
-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean.
</pre>
      </blockquote>
      <pre wrap="">
</pre>
    </blockquote>
  </body>
<br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</html>