Hi Tomas,
I think nearly every option can be controlled through the API.
The trick is finding the right name for them.
View [0] will have options like View[0].Option1, etc.
For specific options, one way to find them is changing them in the GUI and
checking which option name got modified.
You can do that by going to the Current Options window (Help -> Current
Options...)
For example, here's the Point Size option,
[image: image.png]
In Python, you could set this using
gmsh.option.setNumber("View[0].PointSize", 2.0)
Hope this helps!
Max
On Wed, Sep 25, 2019 at 9:25 AM SilveiraPO . <[email protected]>
wrote:
> Dear professor,
>
> Is it possible to change the settings in the "Aspect" menu from the
> post-processor through the API (in python)?
> For example, changing the options (in red), in the following picture
> [image: 1.PNG]
>
> Thanks in advance once again,
> Tomas
>
> _______________________________________________
> gmsh mailing list
> [email protected]
> http://onelab.info/mailman/listinfo/gmsh
>
--
Max Orok
Contractor
www.mevex.com
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh