MAXScript / DotNet Value Conversions

new.gif NEW in 3ds Max 9: The following table shows the native MAXScript value types and the DotNet value types they can be converted to.

MAXScript type

DotNet type

Integer, Integer64, IntegerPtr, Float, Double, MSTime

Byte, SByte, Decimal, Int16, UInt16, Int32, UInt32, IntPtr, UIntPtr, Int64, UInt64, Single, Double

Boolean

Boolean

String

String, Char array

 

The following table shows the DotNet value types and the native MAXScript value type they are converted to.

DotNet type

MAXScript type

Byte, SByte, Decimal, Int16, UInt16, Int32, UInt32,

Integer

Int64, UInt64

Integer64

IntPtr, UIntPtr

IntegerPtr

Single

Float

Double

Double

 

 

Boolean

Boolean

String, Char array

String

 

See also

DotNet In MAXScript