assign_perfecth_to_sheets#

Hfss.assign_perfecth_to_sheets(assignment, name=None)[source]#

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.BoundaryObject

Boundary object.

References

>>> oModule.AssignPerfectH

Examples

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

>>> sheet = hfss.modeler.create_rectangle(hfss.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.BoundaryObject'>