close_desktop#

Desktop.close_desktop()[source]#

Close all projects and shut down AEDT.

Returns:
bool

True when successful, False when failed.

Examples

>>> import ansys.aedt.core
>>> desktop = ansys.aedt.core.Desktop("2021.2")
PyAEDT INFO: pyaedt v...
PyAEDT INFO: Python version ...
>>> desktop.close_desktop()