TrameService
#
- class ansys.tools.visualization_interface.backends.pyvista.trame_service.TrameService(websocket_host: str = 'localhost', websocket_port: int = 8765)#
Trame service class.
Initializes a trame service where you can send meshes to plot in a trame webview plotter.
Overview#
Clears the web view in the service. |
|
Sets the web view scene for the trame service. |
|
Start the trame web view and the websocket services. |
Import detail#
from ansys.tools.visualization_interface.backends.pyvista.trame_service import TrameService
Method detail#
- TrameService.clear_plotter()#
Clears the web view in the service.
- TrameService.set_scene()#
Sets the web view scene for the trame service.
- TrameService.run()#
Start the trame web view and the websocket services.