Ayman,
If I want to use the OpenSim API, how would I go about it. As of now I have no clue as to how and trying to put information together from various help files.
Thanks,
Ajay
osim file documentation
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
RE: osim file documentation
Ajay,
Do you have a development environment for C++? If so please let me know which VisualStudio C++ version do you have. The distribution of OpenSim has an sdk folder that contain example programs that use the API, also there's a Developers' Guide on the downloads page with instructions regarding how to compile a main program that uses the OpenSim API. Please let me know if you run into problems locating or following these instructions.
Good luck,
-Ayman
Do you have a development environment for C++? If so please let me know which VisualStudio C++ version do you have. The distribution of OpenSim has an sdk folder that contain example programs that use the API, also there's a Developers' Guide on the downloads page with instructions regarding how to compile a main program that uses the OpenSim API. Please let me know if you run into problems locating or following these instructions.
Good luck,
-Ayman
- Ajay Sonar
- Posts: 11
- Joined: Thu Sep 23, 2010 8:54 am
RE: osim file documentation
Ayman,
I have Visual C++ 2008 Express edition. I also downloaded the developers guide. I will go through the instructions. Another question, is it possible to make use of an existing osim model so that I can build upon it.
Thanks,
Ajay
I have Visual C++ 2008 Express edition. I also downloaded the developers guide. I will go through the instructions. Another question, is it possible to make use of an existing osim model so that I can build upon it.
Thanks,
Ajay
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
RE: osim file documentation
Ajay,
Sure, the distribution includes an example where you load an Arm model and perform an optimization on it, so you should be able to find the code that loads a model from file and then you can make whatever changes on it.
Since you have VS 2008 Express I'd suggest you use the 2.0.2 release beta distribution that has the suffix VC9E as this was built using the same development platform and so is less likely to cause you problems down the road.
Good Luck,
-Ayman
Sure, the distribution includes an example where you load an Arm model and perform an optimization on it, so you should be able to find the code that loads a model from file and then you can make whatever changes on it.
Since you have VS 2008 Express I'd suggest you use the 2.0.2 release beta distribution that has the suffix VC9E as this was built using the same development platform and so is less likely to cause you problems down the road.
Good Luck,
-Ayman