OpenSim Scripting, Model Offset and Running Motion

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Bhd d
Posts: 1
Joined: Mon Jun 27, 2022 6:29 am

OpenSim Scripting, Model Offset and Running Motion

Post by Bhd d » Mon Nov 07, 2022 11:27 am

Hi,
I want to automate loading two models, align one on top of the other and load a motion data and play it. I know how to load models using loadModel() but I am having trouble finding script commands that does the following actions:

- Use the Model Offset tool under Display (right click on the model name ->Display->Model Offset) and change the Z value of one to align it with the other model.
- After loading the motion data using loadMotion() command, I want the script to play the motion on GUI.

I appreciate any feedback.

Regards,
Bhd

Tags:

POST REPLY