I am trying to find replacements for functions that existed in the OpenSim 3.3 API but are now no longer in the OpenSim API guide ( to my knowledge).
I am specificlaly trying to automatically update wrapping surface (ellipsoidsand spheres) properties such as transaltion, radius etc.
In OpenSim 4.0 I have only been able to update the translation and rotations when querying the Wrapping surface as a WrapObject type, i.e,,
Code: Select all
Model.getBodySet().get(bod).getWrapObjectSet().get(wrapName).set_translation(newLoc)
Model.getBodySet().get(bod).getWrapObjectSet().get(wrapName).set_xyz_body_rotation(newRot)
Code: Select all
radProp = wrapObject.getPropertyByName('radius')
osim.PropertyHelper.setValueDouble( newRad , radProp , 0)
Thank you in advance for any ideas
Bryce