String UnitsHelper.GetCurrentCompactUnitString(String quantityName)

Return a compact unit string for the supplied field. for example, on an acceleration object acc (in MKS and NMM, respectively): - acc.Magnitude.Output.Unit ==> 'm sec^-1 sec^-1' , 'm sec^-1 sec^-1' - GetCurrentCompactUnitString(ExtAPI, acc.Magnitude.Output.QuantityName) ==> 'm/s²' , 'mm/s²'

Parameters

  • quantityName
    Type: String
    "Acceleration"

Return Value

Type: String
Unit String