Page 1 of 1

get_isDisabled() in OpenSim 4.0

Posted: Fri Jun 08, 2018 11:46 am
by jp123909
hi all,

get_isDisabled() function doesn't work in OpenSim4.0. It worked well in OpenSim3.3.
I get the error message:
error: const class OpenSim::Muscle has no member named get_isDisabled
What's the change of it in 4.0?

Thanks in advance
Jiang

Re: get_isDisabled() in OpenSim 4.0

Posted: Fri Jun 08, 2018 12:38 pm
by tkuchida
In OpenSim 4.0, the method is appliesForce(), but please note that the flag has the opposite sense. Here's the latest build of the doxygen documentation: http://myosin.sourceforge.net/2202/clas ... 91ffcd8577.

Re: get_isDisabled() in OpenSim 4.0

Posted: Fri Jun 08, 2018 6:17 pm
by jp123909
Many thanks! It works now.