add_sweep#

Setup3DLayout.add_sweep(name=None, sweep_type='Interpolating')[source]#

Add a frequency sweep.

Parameters:
namestr, optional

Name of the sweep. The default is None, in which case a name is automatically assigned.

sweep_typestr, optional

Type of the sweep. Options are "Fast", "Interpolating", and "Discrete". The default is "Interpolating".

Returns:
ansys.aedt.core.modules.solve_sweeps.SweepHFSS3DLayout

Sweep object.

References

>>> oModule.AddSweep