delete_setup

Q3d.delete_setup(setupname)

Delete a setup.

Parameters
setupnamestr

Name of the setup.

Returns
bool

True when successful, False when failed.

References

>>> oModule.DeleteSetups

Examples

Create a setup and then delete it.

>>> import pyaedt
>>> hfss = pyaedt.Hfss()
>>> setup1 = hfss.create_setup(setupname='Setup1')
>>> hfss.delete_setup(setupname='Setup1')
...
pyaedt info: Sweep was deleted correctly.