Page 1 of 1

attempt to a nil value

Posted: Sun Aug 07, 2022 6:49 am
by amini_opensim
I would like to get some info from muscle:
active_fiber_force()
active_force_length_multiplier()
passive_fiber_force()
...

Scripting the following code shows this error "attempt to a nil value ":

F = model:find_muscle("rect_fem_r"):active_fiber_force()

Would you pls guide me on how to get it?

Kind regards

Re: attempt to a nil value

Posted: Mon Aug 08, 2022 3:03 am
by tgeijten
Are you using the latest version of SCONE (2.0.6)?