release_aedt#

ToolkitBackend.release_aedt(close_projects=False, close_on_exit=False)#

Release AEDT.

Parameters:
close_projectsbool, optional

Whether to close the AEDT projects that are open in the session. The default is True.

close_on_exitbool, optional

Whether to close the active AEDT session on exiting AEDT. The default is True.

Returns:
bool

True when successful, False when failed.

Examples

>>> from ansys.aedt.toolkits.common.backend.api import AEDTCommon
>>> toolkit_api = AEDTCommon()
>>> toolkit_api.launch_aedt()
>>> toolkit_api.wait_to_be_idle()
>>> toolkit_api.release_aedt(True, True)