netgen gui python commands

More
2 years 8 months ago #4338 by walker_tr9
Is is possible to set some of the options in the gui through the Python interface?  For example, to turn on "Show edges" for a 1-D mesh?  It's a little annoying to have to go through the gui menu to set this every time.
More
2 years 8 months ago #4339 by hvwahl
Replied by hvwahl on topic netgen gui python commands
You can use the ngsolve.internal submodule to set (most of) the options via the visoptions variable, e.g.

visoptions.deformation = 1

is enables the deformation checkbox. I guess viewoptions.drawedges is what you're looking for.
Time to create page: 0.103 seconds