[Archive] script generation

Message by Balint Eles:
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.

Message by ruard:
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 path\to\jython\script 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