delete_sweep#
- SetupHFSS.delete_sweep(name)#
Delete a sweep.
References
>>> oModule.DeleteSweep
Examples
Create a frequency sweep and then delete it.
>>> import ansys.aedt.core >>> hfss = ansys.aedt.core.Hfss() >>> setup1 = hfss.create_setup(name='Setup1') >>> setup1.create_frequency_sweep( "GHz", 24, 24.25, 26, "Sweep1", sweep_type="Fast", ) >>> setup1.delete_sweep("Sweep1")