get_cei_install_directory#

static LocalLauncher.get_cei_install_directory(ansys_installation: str | None) str#

Get the Ansys distribution CEI directory to use.

Parameters:
ansys_installationstr, optional

Path to the local Ansys installation, including the version directory. The default is None, in which case common locations are scanned to detect the latest local Ansys installation. The PYENSIGHT_ANSYS_INSTALLATION environmental variable is checked first.

Returns:
str

Validated installation directory, which contains bin/ensight.

Raises:
RuntimeError:

If the installation directory does not point to a valid EnSight installation.