Resource Menu


posted by ruard at Mar 15, 2017 6:05 PM
Quote
Hi Balint,

It is possible to use jython scripts in the SPIS 5.1.8.

You have to launch SPIS with the following options:

  • On linux OS:
./Spis.sh -b path/to/jython/script
  • On windows OS:
.Spis.bat -b pathtojythonscript

You have some jython script samples in the following directory: {SPIS_ROOT_DIRECTORY}/resources/scripts

You can find in this directory a sample to launch a spis 5 project in batch mode in the file called "openProjectAndLaunchSimulation.py".

Tell us if you need some more information,

Regards,

Benjamin Jeanty-Ruard

posted by Balint Eles at Mar 15, 2017 4:24 PM
Quote
Hello,

s it possible to generate jython scripts automatically in the latest versions (5.1.8 and 5.2.2) of SPIS like in the older version (4.3.1)? We can use this feature in 4.3.1 but can't use in 5.1.8 and 5.2.2.