How do I change the units of API output?

I'm using Staad Pro Connect Edition.  My problem is that when I set the Input unit to for example cm-kg using the function SetInputUnits(3, 2), the API output is still in inches. Is there any way I could set the length and force unit for API output values?