create_em_target_design#

Hfss.create_em_target_design(design, setup=None, design_setup=None)#

Create an EM Target design.

Parameters:
designstr

Name of the target design. Possible choices are "Icepak" or``”Mechanical”``.

setupstr, optional

Name of the EM setup to link to the target design. The default is None, in which case the LastAdaptive setup is used.

design_setupstr, optional

For Icepak designs, specify "Forced" for forced convention or "Natural" for natural convention. The default is None, in which case the "Forced" option is used.

Returns:
bool

True when successful, False when failed.

References

>>> oDesign.CreateEMLossTarget

Examples

>>> from ansys.aedt.core import Maxwell3d
>>> m3d = Maxwell3d()
>>> m3d.create_em_target_design("Icepak", design_setup="Forced")