AddStateVariable() method Python API
Posted: Fri May 28, 2021 1:25 am
Hello,
I'm working on a project where I try to customize a Component in order to add state variables to compute a spindle behaviour.
I'm working with Opensim 4.2 in a Python 3.7 environment.
My issue is that I can't find the corresponding python method to AddStateVariable found in the C++ Opensim API here :
https://simtk.org/api_docs/opensim/api_ ... 35d22014da
I checked the .py files in the sdk and printed the content of the Opensim modules thanks to the help("nameofthemodule") method but I still can't find the existence of the addStateVariable() method.
Does anyone know how to use this method in a Python environment ?
Thanks for your help,
Louis
I'm working on a project where I try to customize a Component in order to add state variables to compute a spindle behaviour.
I'm working with Opensim 4.2 in a Python 3.7 environment.
My issue is that I can't find the corresponding python method to AddStateVariable found in the C++ Opensim API here :
https://simtk.org/api_docs/opensim/api_ ... 35d22014da
I checked the .py files in the sdk and printed the content of the Opensim modules thanks to the help("nameofthemodule") method but I still can't find the existence of the addStateVariable() method.
Does anyone know how to use this method in a Python environment ?
Thanks for your help,
Louis