get_object_faces

Primitives2D.get_object_faces(partId)

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

Parameters
partIdint or str

Object ID or object name.

Returns
list

List of faces IDs.

References

>>> oEditor.GetFaceIDs