Mesh#

class ansys.fluent.visualization.pyvista.pyvista_objects.Mesh(name, parent, api_helper)#

Provides for displaying mesh graphics.

Parameters:
name
parent
api_helper
.. code-block:: python

from ansys.fluent.visualization.pyvista import Graphics

graphics_session = Graphics(session) mesh1 = graphics_session.Meshes[“mesh-1”] mesh1.show_edges = True mesh1.surfaces_list = [‘wall’] mesh1.display(“window-0”)

Attributes

Member

Summary

show_edges

Show edges for mesh.

show_faces

Show faces for mesh.

show_nodes

Show nodes for mesh.

surfaces_list

List of surfaces for mesh graphics.

surfaces_list.allowed_values

surfaces_list allowed values.

Commands

Command

Summary

display

Display graphics.

get_ancestors_by_name

get_ancestors_by_type

get_path

get_root

get_session

get_session_handle