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 import Hfss
>>> app = Hfss()
>>> app.modeler.get_object_faces(assignment="Box1")