create_setup#

Q2d.create_setup(name='MySetupAuto', setup_type=None, **kwargs)[source]#

Create an analysis setup for 2D Extractor.

Optional arguments are passed along with the setup_type and name parameters. Keyword names correspond to the setup_type corresponding to the native AEDT API. The list of keywords here is not exhaustive.

Parameters:
namestr, optional

Name of the setup. The default is “Setup1”.

setup_typeint, str, optional

Type of the setup. Options are “IcepakSteadyState” and “IcepakTransient”. The default is “IcepakSteadyState”.

**kwargsdict, optional

Available keys depend on the setup chosen. For more information, see Q3D templates and arguments.

Returns:
ansys.aedt.core.modules.solve_setup.SetupHFSS

Solver Setup object.

References

>>> oModule.InsertSetup

Examples

>>> from ansys.aedt.core import Q2d
>>> app = Q2d()
>>> app.create_setup(name="Setup1",RLDataBlock__MinPass=2)