create_setup#
- Hfss.create_setup(name='MySetupAuto', setup_type=None, **kwargs)#
Create an analysis setup for HFSS.
Optional arguments are passed along with
setup_typeandname. Keyword names correspond to keyword for thesetup_typeas defined in the native AEDT API.Note
This method overrides the
Analysis.setup()method for the HFSS app.- Parameters:
- name
str,optional Name of the setup. The default is
"Setup1".- setup_type
str,optional Type of the setup, which is based on the solution type. Options are
"HFSSDrivenAuto","HFSSDriven","HFSSEigen","HFSSTransient", and"HFSSSBR". The default is"HFSSDriven".- **kwargs
dict,optional Keyword arguments from the native AEDT API. For more information, see HFSS templates and arguments.
- name
- Returns:
ansys.aedt.core.modules.solve_setup.SetupHFSS,ansys.aedt.core.modules.solve_setup.SetupHFSSAuto3D Solver Setup object.
References
>>> oModule.InsertSetup
Examples
>>> from ansys.aedt.core import Hfss >>> hfss = Hfss() >>> hfss.create_setup(name="Setup1", setup_type="HFSSDriven", Frequency="10GHz")