|
|
## Using the GUI
|
|
|
|
|
|
First we click in the Script button. Then we have two options available to run a script in the graphical interface:
|
|
|
First we click in the Script button.
|
|
|
|
|
|
![stranger-tools](../figures/script-buttom.png)
|
|
|
|
|
|
Then we have two options available to run a script in the graphical interface:
|
|
|
|
|
|
* Load Script.
|
|
|
* Run function.
|
|
|
|
... | ... | @@ -8,8 +13,12 @@ First we click in the Script button. Then we have two options available to run a |
|
|
|
|
|
In order to run a python script from the terminal we have to add -execpy 'load_script:python_script.py' when launching Ansa. Where we should substitute python_script by the actual script path.
|
|
|
|
|
|
`/path/to/Ansa/ansa64.sh -execpy 'load_script:python_script.py'`
|
|
|
```bash
|
|
|
/path/to/Ansa/ansa64.sh -execpy 'load_script:python_script.py'
|
|
|
```
|
|
|
|
|
|
Additionally, we can use -nogui option if access to the GUI is not required after the script execution.
|
|
|
|
|
|
`/path/to/Ansa/ansa64.sh -nogui -execpy 'load_script:python_script.py'` |
|
|
\ No newline at end of file |
|
|
```bash
|
|
|
/path/to/Ansa/ansa64.sh -nogui -execpy 'load_script:python_script.py'
|
|
|
``` |
|
|
\ No newline at end of file |