is_aedt_connected#
- AEDTCommon.is_aedt_connected() Tuple[bool, str] [source]#
Check if AEDT is connected.
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()