find_all_osl_exec#

ansys.optislang.core.utils.find_all_osl_exec() OrderedDict[int, Tuple[Path, ...]]#

Find all optiSLang executable files.

Returns:
OrderedDict[int, Tuple[Path, …]]

Ordered dictionary of found optiSLang executables. The dictionary key corresponds to the optiSLang version and value to the tuple of the optiSLang executable paths. Ansys installations are first in the tuple, followed by standalone installations. The dictionary is sorted by the version number in descending order.

Raises:
NotImplementedError

Raised when the operating system is not supported.