wait_to_be_idle#

ToolkitBackend.wait_to_be_idle(timeout: int = 60) bool#

Wait for the thread to be idle and ready to accept a new task.

Parameters:
timeoutint, optional

Time out in seconds. The default is 60.

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.get_design_names()