<div dir="ltr"><div>Hi Tomas, <br></div><div><br></div><div>I think nearly every option can be controlled through the API. </div><div>The trick is finding the right name for them. </div><div><br></div><div>View [0] will have options like View[0].Option1, etc. <br></div><div><br></div><div>For specific options, one way to find them is changing them in the GUI and checking which option name got modified. <br></div><div>You can do that by going to the Current Options window (Help -> Current Options...) <br></div><div><br></div><div>For example, here's the Point Size option, <br></div><div><br></div><div><div><img src="cid:ii_k0zdnfe91" alt="image.png" width="472" height="116"></div><div><br></div><div>In Python, you could set this using <br></div><div><br></div><div><font face="monospace">gmsh.option.setNumber("View[0].PointSize", 2.0) <br></font></div><div><font face="monospace"><br></font></div><div><font face="arial,sans-serif">Hope this helps! <br></font></div><div><font face="arial,sans-serif">Max </font><br></div></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 25, 2019 at 9:25 AM SilveiraPO . <<a href="mailto:tsilveira1993@gmail.com">tsilveira1993@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear professor,<div><br></div><div>Is it possible to change the settings in the "Aspect" menu from the post-processor through the API (in python)?</div><div>For example, changing the options (in red), in the following picture</div><div><img src="cid:ii_k0z771730" alt="1.PNG" width="542" height="253"><br></div><div><br></div><div>Thanks in advance once again,</div><div>Tomas</div><div> </div></div>
_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br>
<a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Max Orok</div><div>Contractor<br></div></div><div dir="ltr"><a href="http://www.mevex.com" target="_blank">www.mevex.com</a><br><br><img src="https://docs.google.com/uc?export=download&id=1fHTIiW4OMUjQr1iOkspQ7wiEsxunoOs0&revid=0B6x5w-5zVaEjSkpwbm5oY29jbG1XMzJoYldXTmJpNGFtb3dVPQ" width="164" height="42"><br></div></div></div></div></div></div>