get_face_center#

Modeler2D.get_face_center(assignment)[source]#

Retrieve the center position for a given planar face ID.

Parameters:
assignmentint

ID of the face.

Returns:
List

A list of [x, y, z] coordinates for the planar face center position.

References

>>> oEditor.GetFaceCenter