Notifications
Clear all

[Closed] SDK + Arrays

How do I get Array from Value? I want to give my custom maxscript function array as argument but I just cant open it in SDK.

Array* myArray = (Array *)arg_list[0];

That doesn’t work, for some odd reason. How should I do it?

1 Reply

Sorry, it works alright:

Array* myArr= (Array *)arg_list[0];

And then call cells using:

myArr->data[index]