Message 1 of 5
Reading array parsed via FPValue in C++ SDK

Not applicable
05-25-2017
05:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Let's assume that I have a maxscript witch returns a constant array with sub arrays as below.
myArray = #( #(1,2,3), #(4,5,6), #(7,8,9), #(10,11,12) )
I'm calling a maxscript that returns above array in C++.
FPValue fpv; ExecuteMAXScriptScript( cmdStr, false, &fpv );
How can I read array from a FPValue? I need to get elements in sub arrays of the returned array.