I successfully added a prescribed force to my model by adding the following code in the .osim file (Lumbar_C_4 from Lumbar spine model):
Code: Select all
<ForceSet name="forceset">
<objects>
<PrescribedForce name="prescribedForce">
<isDisabled>false</isDisabled>
<socket_frame>../../bodyset/lumbar1</socket_frame>
<FunctionSet name="forceFunctions">
<objects>
<Constant name="forceX">
<value>50</value>
</Constant>
<Constant name="forceY">
<value>0</value>
</Constant>
<Constant name="forceZ">
<value>0</value>
</Constant>
</objects>
<groups />
</FunctionSet>
<FunctionSet name="pointFunctions">
<objects>
<Constant name="pointX">
<value>0</value>
</Constant>
<Constant name="pointY">
<value>0</value>
</Constant>
<Constant name="pointZ">
<value>0</value>
</Constant>
</objects>
<groups />
</FunctionSet>
</PrescribedForce>
My question is the following : is there a way to display this prescribed force that is embedded in the .osim file on the model ? I would like to make sure the point of application is correct and as plan to add forces it would be a lot easier to monitor. Right clicking in the GUI on the prescribed force and adjusting the "display" options does not seem to do anything.
Thanks in advance !