There may be an error in the document "Common Scripting Commands"
Posted: Sun Feb 07, 2021 11:30 pm
Hi OpenSim team,
There may be a mistake in the page
https://simtk-confluence.stanford.edu:8 ... g+Commands
At the middle of the page, there is an instruction about how to access and edit the joints of an OpenSim model. The code is:
I think a "get" is missing. The correct code should be
Also, the next code should be
Best,
Simon
There may be a mistake in the page
https://simtk-confluence.stanford.edu:8 ... g+Commands
At the middle of the page, there is an instruction about how to access and edit the joints of an OpenSim model. The code is:
Code: Select all
rightHip = jointSet().("hip_r")
Code: Select all
rightHip = jointSet().get("hip_r")
Code: Select all
rightHip = myModel.getJointSet().get("hip_r")
Simon