31.4 MeshEdge object

The MeshEdge object refers to an element edge. It has no constructor or members. A MeshEdge object can be accessed via a MeshEdgeArray or a repository on a part or part instance.

Access
import part
mdb.models[name].parts[name].elemEdges[i]
mdb.models[name].parts[name].elementEdges[i]
import assembly
mdb.models[name].rootAssembly.allinstances.elemEdges[i]
mdb.models[name].rootAssembly.allinstances.elementEdges[i]
mdb.models[name].rootAssembly.instances[name].elemEdges[i]
mdb.models[name].rootAssembly.instances[name].elementEdges[i]


31.4.1 getElements()

This method returns a tuple of elements that share the element edge.

Arguments

None.

Return value

A tuple of MeshElement objects.

Exceptions

None.


31.4.2 getElementsViaTopology()

This method returns an array of MeshElement objects that are obtained by recursively finding adjacent elements via topology.

Optional arguments

domain

A MeshElementArray object specifying the domain to include in the search. By default, all elements in the mesh are included.

Return value

A MeshElementArray object, which is a sequence of MeshElement objects.

Exceptions

None.


31.4.3 getNodesViaTopology()

This method returns an array of MeshNode objects that lie along element edges topologically in line with the element edge.

Optional arguments

domain

A MeshElementArray object specifying the domain to include in the search. By default, all elements in the mesh are included.

Return value

A MeshNodeArray object, which is a sequence of MeshNode objects.

Exceptions

None.


31.4.4 getElemFaces()

This method returns a tuple of unique MeshFace objects that share the element edge.

Arguments

None.

Return value

A tuple of MeshFace objects.

Exceptions

None.


31.4.5 getNodes()

This method returns a tuple of nodes on the element edge.

Arguments

None.

Return value

A tuple of MeshNode objects.

Exceptions

None.


31.4.6  Members

The MeshEdge object has no members.