assign_perfecth_to_sheets

Hfss.assign_perfecth_to_sheets(sheet_list, sourcename=None)[source]

Assign a Perfect H to sheets.

Parameters
sheet_listlist

List of sheets to apply the boundary to.

sourcenamestr, optional

Perfect H name. The default is None.

Returns
pyaedt.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", matname="Copper")
>>> perfect_h_from_sheet = hfss.assign_perfecth_to_sheets(sheet.name, "PerfectHFromSheet")
>>> type(perfect_h_from_sheet)
<class 'pyaedt.modules.Boundary.BoundaryObject'>