is_project_locked#

ansys.aedt.core.generic.file_utils.is_project_locked(input_file: str | Path) bool#

Check if the AEDT project lock file exists.

Parameters:
input_filestr or pathlib.Path

Path for the AEDT project.

Returns:
bool

True when successful, False when failed.

Examples

>>> from ansys.aedt.core.generic.file_utils import is_project_locked
>>> is_project_locked(r"C:\Projects\Motor\test.aedt")