Topology

Mesh topology of a single element i.e. its nodes and their coordinates.

Examples

stage = gx.get_current_project().get_models_and_stages()[0]
topo = stage.output.line_reaction[0].topology
topo.nodes
list(zip(topo.X, topo.Y))

See also

Properties

mesh_id : int
ID of the mesh the element belongs to.
nodes : list[int]
Indices of the element's nodes.
X : list[float]
x-coordinates of the element's nodes.
Y : list[float]
y-coordinates of the element's nodes.
Z : list[float]
z-coordinates of the element's nodes.