MAXScript will automatically convert its native values to DotNet values and DotNet values to MAXScript values.
In addition, value conversion can be performed explicitly using a dedicated function in 3ds Max 2010 and higher.
The following table shows the native MAXScript value types and the converted DotNet value types in 3ds Max 9 and higher.
The following table shows the DotNet value types and the converted native MAXScript value types.
The following method performs a conversion of a MAXScript value to a DotNet value.
Available in 3ds Max 2010 and higher.
Returns a dotNetObject value where the MAXScript value passed as first argument is converted to a DotNet object of the type specified by the second argument.
This allows for the easy creation of DotNet arrays from MAXScript arrays: