Attribute.applyUnits


applyUnits(pUnits, convertToGiven)

Converts all numerical data inside this attribute to represent a units conversion. If convertToGiven is TRUE, the data is converted from the units of the current model to the units specified by the first argument. If convertToGiven is FALSE, the underlying data is converted from the given units, to the units of the current model.

pUnitsIFUnitSet
convertToGivenboolean
Return valuePointer to this objectAllows multiple function calls to be chained together

Back to Attribute

Back to Overview