assign_perfecth_to_sheets#

Hfss.assign_perfecth_to_sheets(assignment, name=None)#

Assign a Perfect H to sheets.

Parameters:
assignmentlist

List of sheets to apply the boundary to.

namestr, optional

Perfect H name. The default is None.

Returns:
ansys.aedt.core.modules.boundary.common.BoundaryObject

Boundary object.

References

>>> oModule.AssignPerfectH

Examples

Create a sheet and use it to create a Perfect H.

>>> from ansys.aedt.core.generic.constants import Plane
>>> sheet = hfss.modeler.create_rectangle(
...     Plane.XY, [0, 0, -90], [10, 2], name="PerfectHSheet", material="Copper"
... )
>>> perfect_h_from_sheet = hfss.assign_perfecth_to_sheets(sheet.name, "PerfectHFromSheet")
>>> type(perfect_h_from_sheet)
<class 'from ansys.aedt.core.modules.boundary.common.BoundaryObject'>