The MeshEdgeArray can either be a repository or a sequence of MeshEdge objects depending on how it is accessed. If accessed using elemEdges it is a repository. Instead, if elementEdges is used, it is a sequence.
When accessing it as a repository, masked indices should be used. The masked index refers to a combination of an element, element face and element edge. Hence, these indices may not be in order and it may even be greater than the length of the MeshFaceArray. In addition, the length of this repository will contain an entry for an element edge per element (i.e.,) if an element edge is shared by two elements, there will be two entries to indicate this.
When accessing it as a sequence, regular indices can be used. If masked indices are preferred, use the getSequenceFromMask method available on elementEdges. The length of this sequence is unique. Shared element edges have only one entry in this sequence.
import part mdb.models[name].parts[name].elemEdges mdb.models[name].parts[name].elementEdges import assembly mdb.models[name].rootAssembly.instances[name].elemEdges mdb.models[name].rootAssembly.instances[name].elementEdges
This method returns the object or objects in the MeshEdgeArray identified using the specified mask. When large number of objects are involved, this method is highly efficient.
Required argument
A String specifying the object or objects.
Optional arguments
Return value
A MeshEdge object.
Exceptions
An exception occurs if the resulting sequence is empty.