get_isDisabled() in OpenSim 4.0

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Jiang Ping
Posts: 132
Joined: Sun Aug 26, 2012 4:09 am

get_isDisabled() in OpenSim 4.0

Post by Jiang Ping » Fri Jun 08, 2018 11:46 am

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

Tags:

User avatar
Thomas Uchida
Posts: 1792
Joined: Wed May 16, 2012 11:40 am

Re: get_isDisabled() in OpenSim 4.0

Post by Thomas Uchida » Fri Jun 08, 2018 12:38 pm

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.

User avatar
Jiang Ping
Posts: 132
Joined: Sun Aug 26, 2012 4:09 am

Re: get_isDisabled() in OpenSim 4.0

Post by Jiang Ping » Fri Jun 08, 2018 6:17 pm

Many thanks! It works now.

POST REPLY