OpenSTAAD V8i

Output.GetOutputUnitForDisplacement

Returns output unit for translational displacements used by the GUI as a string and is set in the Options dialog box.

VB Syntax

Output.GetOutputUnitForDisplacement Unit

Where:

Unit

A string containing the output unit for translational displacements.

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 strOutputUnitForDisplacement as String
'Get the application object --
'Get Output Unit For Displacement
strOutputUnitForDisplacement = objOpenSTAAD.Output.GetOutputUnitForDisplacement