check_plane#

Modeler3D.check_plane(assignment: str | int, face_location: list, offset: int = 1) → str | None#

Check for the plane that is defined as the face for an object.

Parameters:
assignmentstr | int

Name of the object.

face_locationlist

List of the [x, y, z] coordinates for the position of the face.

offsetoptional

Offset to apply. The default is 1.

Returns:
str

Name of the plane. It can be “XY”, “XZ” or “YZ”.

Examples

>>> from ansys.aedt.core import Hfss
>>> app = Hfss()
>>> app.modeler.check_plane(assignment="Box1", face_location=[1])