Modeller.createLengthUnit


createLengthUnit(longName, shortName, factor)

Creates or modifies a unit of length. The factor describes the number of the new units in 1 metre. For example, mm = 1000, feet = 3.28

longNamestringLong name for unit
shortNamestringShort name for unit
factordoubleconversion factor (from SI).
Return valueIFUnitthe returned object

Back to Modeller

Back to Overview