get_object_faces#

Modeler3D.get_object_faces(assignment: int | str) list#

Retrieve the face IDs of a given object ID or object name.

Parameters:
assignmentint or str

Object ID or object name.

Returns:
List

List of faces IDs.

References

>>> oEditor.GetFaceIDs

Examples

>>> from ansys.aedt.core.modeler.cad.primitives import GeometryModeler
>>> obj = GeometryModeler()
>>> obj.get_object_faces(assignment="Box1")