Page 1 of 1

Graphs and Mass XML

Posted: Wed Jan 26, 2022 8:57 am
by lisiascamargo
Hello everyone, can anyone tell me if changing the mass of a body via XML, for example hand, is it possible to analyze and plot graphics with this mass in kg?

Re: Graphs and Mass XML

Posted: Wed Jan 26, 2022 3:06 pm
by aymanh
Hi Lisias,

You definitely can change the value of the mass in XML for any Body/Segment in the model. For units, a Model has a "getLengthUnits()" and a "getForceUnits()" that allow you to retrieve the units of the model. These also show in the Properties window when a model is selected in the OpenSim application, internally these are Meters and Newtons respectively.

Hope this helps,
-Ayman

Re: Graphs and Mass XML

Posted: Tue Feb 01, 2022 5:36 pm
by lisiascamargo
Thank you!

By changing the mass of a body is it possible to see changes in the graphs plot?