add_sweep#
- SetupQ3D.add_sweep(name: str = None, sweep_type: str = 'Interpolating', **props) SweepMatrix#
Add a sweep to the project.
- Parameters:
- Returns:
ansys.aedt.core.modules.solve_sweeps.SweepMatrixSweep object.
References
>>> oModule.InsertFrequencySweep
Examples
>>> from ansys.aedt.core.modules.solve_setup import SetupQ3D >>> obj = SetupQ3D() >>> obj.add_sweep(name="MyObject", sweep_type=1)