get_face_area#

Modeler3D.get_face_area(assignment: int) float#

Retrieve the area of a given face ID.

Parameters:
assignmentint

ID of the face.

Returns:
float

Value for the face area.

References

>>> oEditor.GetFaceArea

Examples

>>> from ansys.aedt.core.modeler.cad.primitives import GeometryModeler
>>> obj = GeometryModeler()
>>> obj.get_face_area(assignment="Box1")