get_face_vertices#

Modeler2D.get_face_vertices(assignment)[source]#

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

Parameters:
assignmentint or str

Object ID or object name, which is available using the methods ansys.aedt.core.modeler.cad.primitives_3d.Primitives3D.get_object_vertices() or ansys.aedt.core.modeler.cad.primitives_2d.Primitives2D.get_object_vertices().

Returns:
List

List of vertex IDs.

References

>>> oEditor.GetVertexIDsFromFace