# \[Archive\] script generation

**URL:** <https://forum.spis.org/t/archive-script-generation/670>\
**Category:** SPIS\
**Created:** [15 March 2017 16:24 UTC](https://forum.spis.org/t/archive-script-generation/670 "2017-03-15T16:24:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://forum.spis.org/uploads/default/original/1X/887f7e402a70666bad1816db2c64fefd698b4b0f.png) [@system](https://forum.spis.org/u/system)\
**Post date:** [15 March 2017 16:24 UTC](https://forum.spis.org/t/archive-script-generation/670/1 "2017-03-15T16:24:00Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://forum.spis.org/uploads/default/original/1X/887f7e402a70666bad1816db2c64fefd698b4b0f.png) [@system](https://forum.spis.org/u/system)\
**Post date:** [15 March 2017 18:05 UTC](https://forum.spis.org/t/archive-script-generation/670/2 "2017-03-15T18:05:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://forum.spis.org/uploads/default/original/1X/887f7e402a70666bad1816db2c64fefd698b4b0f.png) [@system](https://forum.spis.org/u/system)\
**Post date:** [10 July 2020 12:55 UTC](https://forum.spis.org/t/archive-script-generation/670/3 "2020-07-10T12:55:51Z")

</div>

Closed on 10 July 2020 12:55 UTC


