Units conversion and default preferences
There are various default settings that affect output responses. To view the current default settings, type GetDefaults. To change a default setting, enter the corresponding command.
Example: Units and unit conversions..
The default unit system is  kilograms, meter, second.
To change the default unit system, type (for example)
SetUnitSystem( gram, cm, hour )
To convert from inches to cm, enter
inchToCm = ConvertUnits( inches, cm ) -> inchToCm = 2.54
To convert  3 slug ft2  to units of  kg cm2,  enter either of:
conversionFactor = 3*ConvertUnits( slug*ft^2, kg*cm^2 ) conversionFactor = ConvertUnits( 3 slug*ft^2, kg*cm^2 ) -> conversionFactor = 40674.54
To evaluate an expression with symbols being assigned a number with units, try:
SetUnitSystem( kg, meter, second ) Constant a, b, theta = 90 degrees test = a * b * sin(theta) * t tryA = Evaluate( test, a = 2 kg, t = 1 minute ) -> tryA = 120*b*sin(theta) tryB = Evaluate( test, a = 2000 grams, t = 1 minute ) -> tryB = 120*b*sin(theta) tryC = Evaluate( test, b = 2 km, theta = 30 degrees ) -> tryC = 1000*a*t tryD = EvaluateAtInput( test, b = 2 km ) -> tryD = 2000*a*t tryE = EvaluateAtInput( test, a = t, b = tan(t) ) -> tryE = t^2*tan(t)
To list the large-number of available units, type
GetUnitSystem()
UnitSystem affects the Input and Output commands, and conversion factors for:
Evaluate Solve ODE Nonlinear Algebraic

Example: Display of numbers (significant digits).
x = 1/3 % Shows number with 7 digits (default). -> x = 0.3333333 SetDigits( 4 ) y = 1/3 % Shows number with 4 digits. -> y = 0.3333
Note: Calculation accuracy is not usually affected by this setting.
Compatible with Autolev (legacy software)
To run an AUTOLEV file, enter or include the following command:
SetDefaults( Autolev )
To make MotionGenesis™ Kane be startup AUTOLEV compatible, edit the file MGDefaultPreferences.txt (in the MGToolbox folder) and un-comment the line
SetDefaults AUTOLEV