Rplacement of muscle

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Charles Yin
Posts: 11
Joined: Mon Feb 05, 2018 12:45 am

Rplacement of muscle

Post by Charles Yin » Mon Jan 20, 2020 6:28 am

Hello,
I want to ask the experts about the problem of replacement of muscles.
For example, I want to update the 'Thelen2003muscle' with 'Millard2012muscle', is there any functions in api for solving it?
Also, what about the earlier 'Schutle1993Muscle_Deprecated' .
Thanks!

Tags:

User avatar
Vinay Kumar
Posts: 34
Joined: Thu Nov 08, 2018 6:50 am

Re: Rplacement of muscle

Post by Vinay Kumar » Wed Jan 22, 2020 9:55 pm

simreal wrote:
Mon Jan 20, 2020 6:28 am
For example, I want to update the 'Thelen2003muscle' with 'Millard2012muscle', is there any functions in api for solving it?
Hello,

You can do something similar to as in the OpenSim Example https://github.com/opensim-org/opensim- ... e.cpp#L122, i.e.

Code: Select all

Object::renameType("Thelen2003Muscle", "Millard2012EquilibriumMuscle");
Hope that helps,
Vinay

User avatar
Charles Yin
Posts: 11
Joined: Mon Feb 05, 2018 12:45 am

Re: Rplacement of muscle

Post by Charles Yin » Thu Jan 23, 2020 1:56 am

Thanks a lot, Vinay.
According to the instructions, I have solved my problem.
Regards.


-Charles.

POST REPLY