MeshFaceArray object

The MeshFaceArray is a sequence of MeshFace objects.

This page discusses:

Access

import part
mdb.models[name].parts[name].elementFaces
import assembly
mdb.models[name].rootAssembly.allInstances[name].elementFaces
mdb.models[name].rootAssembly.instances[name].elementFaces

MeshFaceArray(...)

This method creates a MeshFaceArray object.

Path

mesh.MeshFaceArray

Required arguments

elemFaces

A list of MeshFace objects.

Optional arguments

None.

Return value

A MeshFaceArray object.

Exceptions

None.

getSequenceFromMask(...)

This method returns the objects in the MeshFaceArray identified using the specified mask. When large number of objects are involved, this method is highly efficient.

Required arguments

mask

A String specifying the object or objects.

Optional arguments

None.

Return value

A MeshFaceArray object.

Exceptions

An exception occurs if the resulting sequence is empty.

Error: The mask results in an empty sequence.

getMask()

This method returns a string specifying the object or objects.

Arguments

None.

Return value

A String specifying the object or objects.

Exceptions

None.

getMemberFromAll(...)

This method returns a tuple containing a member or members for each MeshFace in the MeshFaceArray.

Required arguments

member

A String specifying a MeshFace member name or a tuple of member names.

Optional arguments

None.

Return value

A tuple of member values (one for each MeshFace) or a tuple of tuples of member values (if you specified a tuple of member names in the member argument).

Exceptions

An exception occurs if no such member exists.

AttributeError: 'MeshFace' object has no attribute ''

Members

The MeshFaceArray object has no members.