TrameVisualizer#

class ansys.dyna.core.pre.graphics.trame_gui.TrameVisualizer#

Defines the view layout for the Trame visualizer.

Overview#

set_scene

Set the view layout for the Trame visualizer.

show

Start the server and show the mesh.

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:
plotterpv.Plotter

PyVista plotter to render the mesh.

TrameVisualizer.show()#

Start the server and show the mesh.