Hi,
I am just having some issues editing an existing osim file using the API. I want to be able to change the coordinate coupler constraint properties and the spatial transform propoerties of different joints programatically. The reason is to make it easier to make bulk changes to my osim file.
I changed the range of some joint coordinates using the following;
CoordinateSet& CS = osimModel.updCoordinateSet();
CS[CS.getIndex("flex_extension",0)].setRange(FE_range);
Is there a similar approach to change the functions in the spatialtransform and coordinatecouplerconstraint classes?
Thanks,
Tom
Edit spatialtransform and CoordinateCouplerConstraint in API
- Tom Lintern
- Posts: 61
- Joined: Mon Dec 13, 2010 5:43 pm
- Tom Lintern
- Posts: 61
- Joined: Mon Dec 13, 2010 5:43 pm
Re: Edit spatialtransform and CoordinateCouplerConstraint in
Any hints or tips from anyone?
- David John Saxby
- Posts: 83
- Joined: Mon May 09, 2011 8:39 pm
Re: Edit spatialtransform and CoordinateCouplerConstraint in
Hi Tom,
I'm working on some similar issues using the Matlab to OpenSim tools.
You might check out this page:
https://simtk.org/forums/viewtopic.php? ... orm#p11309
Has some useful tips.
David
I'm working on some similar issues using the Matlab to OpenSim tools.
You might check out this page:
https://simtk.org/forums/viewtopic.php? ... orm#p11309
Has some useful tips.
David