edit .osim file

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Mary K
Posts: 37
Joined: Mon Feb 24, 2014 9:15 am

edit .osim file

Post by Mary K » Wed Jul 02, 2014 7:08 am

Hello there,

could anyone give me some hints on how can I take an .osim file and start with editing it?
I would prefer to do it with C++ code because I do not know much about XML.

Thanks

EDIT: I saw at the OpenSim API: https://simtk.org/api_docs/opensim/api_ ... Model.html the function

Code: Select all

OpenSim::Model::Model	(	const std::string & 	filename,
bool 	connectToModel = true 
)
but I am not sure on how to use it.

User avatar
Ayman Habib
Posts: 2235
Joined: Fri Apr 01, 2005 12:24 pm

Re: edit .osim file

Post by Ayman Habib » Wed Jul 02, 2014 2:26 pm

Hi,

The documentation page here http://simtk-confluence.stanford.edu:80 ... I+Examples describes how to use the API. Just be aware that not all operations you can do in XML file are available thru the API and vice versa.

Best regards,
-Ayman

POST REPLY