Page 1 of 1

edit .osim file

Posted: Wed Jul 02, 2014 7:08 am
by mariakrgrg
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.

Re: edit .osim file

Posted: Wed Jul 02, 2014 2:26 pm
by aymanh
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