release_desktop#

Emit.release_desktop(close_projects: bool = True, close_desktop: bool = True) bool#

Release AEDT.

Parameters:
close_projectsbool, optional

Whether to close all projects. The default is True.

close_desktopbool, optional

Whether to close AEDT after releasing it. The default is True.

Returns:
bool

True when successful, False when failed.

Examples

>>> from ansys.aedt.core import Hfss
>>> app = Hfss()
>>> app.release_desktop()