Skip to content

Commit

Permalink
Update src/ansys/mechanical/core/embedding/viz/embedding_plotter.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Fernandez <[email protected]>
  • Loading branch information
dipinknair and AlejandroFernandezLuces authored Aug 1, 2024
1 parent e88f8a2 commit 6fa3dee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _get_nodes_and_coords(node: "Ansys.Mechanical.Scenegraph.Node"):


def to_plotter(app: "ansys.mechanical.core.embedding.App"):
"""Convert the app's geometry to a pyvista plotter instance."""
"""Convert the app's geometry to an ``ansys.tools.visualization_interface.Plotter`` instance."""
plotter = Plotter()
for body in app.DataModel.GetObjectsByType(
Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory.Body
Expand Down

0 comments on commit 6fa3dee

Please sign in to comment.