Distinguished Values (SDK)

3DS Max Plug-In SDK

Distinguished Values (SDK)

There are several distinguished values in MAXScript that are implemented as static instances of their classes, as follows:

Undefined undefined;

Ok ok;

Unsupplied unsupplied;

Boolean true_value;

Boolean false_value;

Because these are static instances, you need to remember to work with their addresses:

return &ok; // return the ok value

 

if (val == &true_value) // value true?

...