Page 1 of 1

Rplacement of muscle

Posted: Mon Jan 20, 2020 6:28 am
by simreal
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!

Re: Rplacement of muscle

Posted: Wed Jan 22, 2020 9:55 pm
by vinaym815
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

Re: Rplacement of muscle

Posted: Thu Jan 23, 2020 1:56 am
by simreal
Thanks a lot, Vinay.
According to the instructions, I have solved my problem.
Regards.


-Charles.