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_file
strorpathlib.Path Path for the AEDT project.
- input_file
- Returns:
- bool
Truewhen successful,Falsewhen failed.
Examples
>>> from ansys.aedt.core.generic.file_utils import is_project_locked >>> is_project_locked(r"C:\Projects\Motor\test.aedt")