Automatically draw Surface Vectors

More
1 year 10 months ago #4618 by NGUnsolved
Hello,

I'm trying to find the right keyword to automatically set "Draw Surface Vectors" to True for the netgen gui.

I know that you can for example suppress the drawing of the outline by setting

ngsolve.internal.viewoptions.drawoutline=0

but I don't find the right way to do this for the vector arrows.

Thanks :)
 
More
1 year 10 months ago #4619 by hvwahl
Checkout the options in the list visoptions_variables and viewoptions_variables in the file python/internal.py

To enable the draw surface vectors, you need to set ngsolve.internal.visoptions.showsurfacesolution = 1

Best wishes, Henry
The following user(s) said Thank You: NGUnsolved
Time to create page: 0.099 seconds