assign_em_losses#

Mechanical.assign_em_losses(design='HFSSDesign1', setup='Setup1', sweep='LastAdaptive', map_frequency=None, surface_objects=None, source_project_name=None, parameters=None, assignment=None)#

Map EM losses to a Mechanical design.

Parameters:
designstr, optional

Name of the design of the source mapping. The default is "HFSSDesign1".

setupstr, optional

Name of the EM setup. The default is "Setup1".

sweepstr, optional

Name of the EM sweep to use for the mapping. The default is "LastAdaptive".

map_frequencystr, optional

Frequency to map. The default is None. The value must be None for Eigenmode analysis.

surface_objectslist, optional

List objects in the source that are metals. The default is None.

source_project_namestr, optional

Name of the source project. The default is None, in which case the source from the same project is used.

parameterslist, optional

List of all parameters in the EM to map. The default is None.

assignmentlist, optional

The default is None.

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

References

>>> oModule.AssignEMLoss