MeshData class

This class provides access to the mesh created for the analysis, including all elements and nodes, which can be filtered or obtained as required.

Table 97:  Members

Name Type Description
NodeCount int Total of number of nodes in this mesh
ElementCount int Total of number of elements in this mesh
ElementById(int Id) DAElement class Obtains the DAElement class object with the given Id. Represents a single element in the Mesh.
Elements() DAElement[] class Array of all DAElement class objects representing all the elements in the mesh
NodeById(int Id) DANode class Obtains the DANode class object with the given Id. Represents a single node in the Mesh
Nodes() DANode[] class Array of all DANode class objects representing all the nodes in the mesh
NodesByIds (int[] Ids) DANode[] classArray of DANode class objects that belong to any of the array of element Ids specified in ids.
ElementsByIds(int[] Ids) DAElement[] classArray of DAElement class objects that belong to any of the array of element Ids specified in Ids.


Release 18.2 - © ANSYS, Inc. All rights reserved.