create_setup#

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

Create a setup.

Parameters:
namestr, optional

Name of the new setup. The default is "MySetupAuto".

setup_typestr, optional

Type of the setup. The default is None, in which case the default type is applied.

**kwargsdict, optional

Extra arguments for setup settings. Available keys depend on the setup chosen. For more information, see HFSS 3D Layout and arguments.

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

References

>>> oModule.Add

Examples

>>> from ansys.aedt.core import Hfss3dLayout
>>> app = Hfss3dLayout()
>>> app.create_setup(name="Setup1",MeshSizeFactor=2,SingleFrequencyDataList__AdaptiveFrequency="5GHZ")