Modeller.createUnitSet


createUnitSet(setName, length, mass, time, temperature)

Creates or modifies a set of named units and (if not already present) add them to the list of available units. Also returns the created or modified set for use in the script Note that neither force nor energy are required, as these can be found from the other factors, assuming that energy = force * distance and force = mass * acceleration. It is an error to attempt to create a set of units for which matching energy and force have not previously been defined

setNamestringName for this set of units
lengthIFUnitLength unit
massIFUnitMass unit
timeIFUnitTime unit
temperatureIFUnitTemperature unit
Return valueIFUnitSetthe returned object

Back to Modeller

Back to Overview