- Thank you received: 0
netgen gui python commands
- walker_tr9
- Topic Author
- Offline
- Senior Member
Less
More
2 years 8 months ago #4338
by walker_tr9
netgen gui python commands was created 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.
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.
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