The embedding_plotter.py module#

Summary#

Plottable

Plottable object.

PlotSettings

Settings for a plot.

ScenegraphNodeVisitor

Class to visit the Mechanical scenegraph nodes.

MeshOrientedTransformResizeStyle

Dynamic resize style flag for mesh oriented transform nodes.

to_plotter

Convert the scene for obj to an ansys.tools.visualization_interface.Plotter instance.

Description#

PyVista plotter.

Module detail#

embedding_plotter.to_plotter(app: ansys.mechanical.core.embedding.App, obj=None, plot_settings: PlotSettings = None) ansys.tools.visualization_interface.Plotter#

Convert the scene for obj to an ansys.tools.visualization_interface.Plotter instance.

If the obj is None, default to the Geometry object. Geometry, Mesh, and some Results are currently supported.