Click or drag to resize

APIconvertValueAuto Method

Convert units of a value in current model units.
REST path: /units/convertauto/[value]
REST verb: GET
REST header: {"OldUnits", OldUnits}, {"NewUnits", NewUnits}

Namespace: NextFEMapi
Assembly: NextFEMapi (in NextFEMapi.dll) Version: 2.6.3.0 (2.6.3.0)
Syntax
public string[] convertValueAuto(
	double value,
	string OldUnits
)

Parameters

value  Double
Numerical value to convert
OldUnits  String
Units of the input value. Eg. kN/cm^2

Return Value

String
Array of string with converted value and target units
See Also