center#
- property FacePrimitive.center: list[float] | bool#
Face center in model units.
Note
It returns the face center from AEDT. It falls back to get the face centroid if number of face vertices is >1. For curved faces returns a point on the surface even if it is not properly the center of mass.
References
>>> oEditor.GetFaceCenter
Examples
>>> from ansys.aedt.core.modeler.cad.elements_3d import FacePrimitive >>> obj = FacePrimitive() >>> obj.center