create_setup#
- Q2d.create_setup(name: str | None = 'MySetupAuto', setup_type: int | str | None = None, **kwargs) SetupHFSS#
Create an analysis setup for 2D Extractor.
Optional arguments are passed along with the
setup_typeandnameparameters. Keyword names correspond to thesetup_typecorresponding to the native AEDT API. The list of keywords here is not exhaustive.- Parameters:
- name
str,optional Name of the setup. The default is “Setup1”.
- setup_type
int,str,optional Type of the setup. Options are “IcepakSteadyState” and “IcepakTransient”. The default is “IcepakSteadyState”.
- **kwargs
dict,optional Available keys depend on the setup chosen. For more information, see Q3D templates and arguments.
- name
- Returns:
ansys.aedt.core.modules.solve_setup.SetupHFSSSolver Setup object.
References
>>> oModule.InsertSetup
Examples
>>> from ansys.aedt.core import Q2d >>> app = Q2d() >>> app.create_setup(name="Setup1", RLDataBlock__MinPass=2)