is_aedt_connected#

ToolkitBackend.is_aedt_connected() Tuple[bool, str]#

Check if AEDT is connected.

Returns:
tuple[bool, str]

Tuple indicating the connection status and a message.

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.connect_aedt()
>>> toolkit_api.is_aedt_connected()
(True, "toolkit connected to process <process_id> on Grpc <grpc_port>")
>>> toolkit_api.release_aedt()