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_installation
str
,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. ThePYENSIGHT_ANSYS_INSTALLATION
environmental variable is checked first.
- ansys_installation
- Returns:
str
Validated installation directory, which contains
bin/ensight
.
- Raises:
- RuntimeError:
If the installation directory does not point to a valid EnSight installation.