Skip to main content
optiSLang allows you to extend the solver wizard by using common script interfaces or by enabling automatic support of Python-based integration nodes in the configuration. To use custom script wizards, the scripts must fulfill the naming conventions *_cw.py or *_solverwizard.py and must be placed in one of the following locations:
  • [installation path]/scripting/wizards
  • Directories specified by SC_AlternativeCWDirectories configuration settings.
  • Directories specified by the environment variable OSL_ALT_CW_SEARCH_DIRS, separated by the native environment separator (; on Windows platforms or : on Linux platforms).
Custom script wizards found in any of these locations are loaded when the application starts and are then available for use within optiSLang. Optionally, the following file types with the same filename and in the same directory can be used as:
  • Node icon (.svg, .jpg, .png, .jpeg, .ico, .bmp)
  • Documentation page in the help system (.html)
The following variables are predefined in the script: Note: The selected project file can also be passed to the script by the second command line argument sys.argv[1].