Page 1 of 1

Scripting in the GUI

Posted: Mon Aug 03, 2020 9:20 am
by martin_hora
Dear OpenSim community,

I am trying to learn how to run simulations using scripting in the GUI, but I cannot find many script examples. Could you please point me to or share example scripts which include RRA, Static Optimization and Joint Reaction Analysis?

I could not find such examples in the scripts provided with the OpenSim installation nor at the internet. It seems that everybody is using Matlab or Python for automatic processing...

Thank you in advance for your help.

Best
Martin

Re: Scripting in the GUI

Posted: Thu Aug 06, 2020 3:52 pm
by aymanh
Hello,

The GUI scripts folder, installed in the Resources folder (e.g. Documents/OpenSim/4.1) under Code/GUI has multiple examples, they leverage GUI functionality to load models and make plots as well but you can do without these if only interested in batch processing. In particular check the scripts:
- runTutorialThree.py
- runMultipleIKTrials.py

and let us know if you continue to have questions.

Best regards,
-Ayman