Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

netgen gui python commands

More
2 years 1 week 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 1 week 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.153 seconds