assign_em_losses#
- Icepak.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 an Icepak design.
- Parameters:
- design
str,optional Name of the design with the source mapping. The default is
"HFSSDesign1".- setup
str,optional Name of the EM setup. The default is
"Setup1".- sweep
str,optional Name of the EM sweep to use for the mapping. The default is
"LastAdaptive".- map_frequency
str,optional String containing the frequency to map. The default is
None. The value must beNonefor Eigenmode analysis.- surface_objects
list,optional List of objects in the source that are metals. The default is
None.- source_project_name
str,optional Name of the source project. The default is
None, in which case the source from the same project is used.- parameters
list,dict,optional List of all parameters to map from source and Icepak design. The default is
None, in which case the variables are set to their values (no mapping). IfNonethe variables are set to their values (no mapping). If a list is provided, the specified variables in the Icepak design are mapped to variables in the source design having the same name. If a dictionary is provided, it is possible to map variables to the source design having a different name. The dictionary structure is {“source_design_variable”: “icepak_variable”}.- assignment
list,optional List of objects. The default is
None.
- design
- Returns:
- bool
Truewhen successful,Falsewhen failed.
References
>>> oModule.AssignEMLoss