create_setup#
- Hfss.create_setup(name='MySetupAuto', setup_type=None, **kwargs)[source]#
Create an analysis setup for HFSS. Optional arguments are passed along with
setup_type
andname
. Keyword names correspond to thesetup_type
corresponding to the native AEDT API. The list of keywords here is not exhaustive.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"
,"HFSSDrivenDefault"
,"HFSSEigen"
,"HFSSTransient"
, and"HFSSSBR"
. The default is"HFSSDrivenAuto"
.- **kwargs
dict
,optional
Extra arguments to set up the circuit. Available keys depend on the setup chosen. For more information, see HFSS templates and arguments.
- name
- Returns:
ansys.aedt.core.modules.solve_setup.SetupHFSS
,ansys.aedt.core.modules.solve_setup.SetupHFSSAuto
3D 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")