Hi guys,
I want to get all the information of one model, such as mass of each segment. Can I use the python code to gain this data quickly and how I acheive it. Hoping anyone can give me some advice or examples because I am not very fimilar about using python to solve problems in OpenSim.
Best wishes,
Wang
obtain the information of models
- Wang Xingyue
- Posts: 7
- Joined: Wed Nov 25, 2020 1:30 am
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: obtain the information of models
Hello,
There're example snippets of iterating through a model to find details about its components, these are described here
https://simtk-confluence.stanford.edu/d ... tsofanySet
The methods you can invoke are available through the API documentation here
https://simtk.org/api_docs/opensim/api_docs/index.html
If you need more help please let us know.
Hope this helps, and if you end-up with a script that you think is useful to the community, please post here or let us know so you can help other members as well.
Best regards,
-Ayman
There're example snippets of iterating through a model to find details about its components, these are described here
https://simtk-confluence.stanford.edu/d ... tsofanySet
The methods you can invoke are available through the API documentation here
https://simtk.org/api_docs/opensim/api_docs/index.html
If you need more help please let us know.
Hope this helps, and if you end-up with a script that you think is useful to the community, please post here or let us know so you can help other members as well.
Best regards,
-Ayman