System Environment

The Ansys Workbench optiSLang Extension uses the system environment and registry to find the compatible optiSLang application in the following order:

  1. Environment variable OPTISLANG_HOMEXXXX

    where XXXX is the Workbench version number, with leading zeros if applicable. For example OPTISLANG_HOME0810 or OPTISLANG_HOME2110.

  2. OPTISLANG_HOMEXXXX entry in

    • Windows: %APPDATA%\Dynardo\optiSLangWBExtension.ini

    • Linux: %HOME%/.config/Dynardo/optiSLangWBExtension.ini

  3. Under AWP_ROOT of the currently running Workbench version.

  4. Registry (Windows only)

    • HKEY_CURRENT_USER\SOFTWARE\Dynardo\ANSYS optiSLang entry of the Windows registry if optiSLang was installed for the local user

    • HKEY_LOCAL_MACHINE\SOFTWARE\Dynardo\ANSYS optiSLang entry of the Windows registry if optiSLang was installed for all users