Calling Scripted Functions (SDK)

3DS Max Plug-In SDK

Calling Scripted Functions (SDK)

If you have a scripted function value in hand (an instance of the class MAXScriptFunction), you can invoke it directly using the Value virtual function apply():

virtual Value* apply(Value** arglist, int count);