delete_setup#

Hfss3dLayout.delete_setup(name)#

Delete a setup.

Parameters:
namestr

Name of the setup.

Returns:
bool

True when successful, False when failed.

References

>>> oModule.Delete

Examples

Create a setup and then delete it.

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