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 import Hfss
>>> app = Hfss()
>>> app.modeler.get_face_area(assignment="Box1")