delete_setup#

Q2d.delete_setup(name)[source]#

Delete a setup.

Parameters:
namestr

Name of the setup.

Returns:
bool

True when successful, False when failed.

References

>>> oModule.DeleteSetups

Examples

Create a setup and then delete it.

>>> import ansys.aedt.core
>>> hfss = ansys.aedt.core.Hfss()
>>> setup1 = hfss.create_setup(name='Setup1')
>>> hfss.delete_setup()
...
PyAEDT INFO: Sweep was deleted correctly.