check_if_path_exists#

ansys.aedt.core.generic.file_utils.check_if_path_exists(path: str | Path) bool#

Check whether a path exists on a local or on a remote machine (for remote sessions only).

Parameters:
pathstr or pathlib.Path

Local or remote path to check.

Returns:
bool

True when exist, False when fails.