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.

The following topics are discussed:

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]

getElements()

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

Arguments

None.

Return value

A tuple of MeshElement objects.

Exceptions

None.

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.

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.

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.

getNodes()

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

Arguments

None.

Return value

A tuple of MeshNode objects.

Exceptions

None.

Members

The MeshEdge object has no members.