OpenSTAAD V8i

Output.GetOutputUnitForMoment

Returns output unit for moments (MX, MY, MZ) used by the GUI as a string and is set in the Options dialog box.

VB Syntax

Output.GetOutputUnitForMoment Unit

Where:

Unit

A string containing the output unit for moments (MX, MY, FZ).

This is not a conversion unit used in accessing data through OpenSTAAD. Values are always returned in the units of the base unit system, which can be obtained using the GetBaseUnit function.

VB Example

Dim strOutputUnitForMoment as String
'Get the application object --
'Get Output Unit For Moment
strOutputUnitForMoment = objOpenSTAAD.Output.GetOutputUnitForMoment