TrameVisualizer
#
- class ansys.dyna.core.pre.graphics.trame_gui.TrameVisualizer#
Defines the view layout for the Trame visualizer.
Overview#
Import detail#
from ansys.dyna.core.pre.graphics.trame_gui import TrameVisualizer
Attribute detail#
- TrameVisualizer.server#
Method detail#
- TrameVisualizer.set_scene(plotter)#
Set the view layout for the Trame visualizer.
This method also sets the mesh to show by the PyVista plotter.
- Parameters:
- plotter
pv.Plotter
PyVista plotter to render the mesh.
- plotter
- TrameVisualizer.show()#
Start the server and show the mesh.