Data (GridData) *
Returns or sets the entire 2-dimensional array of cell data. The data is represented in a 2-dimensional SAFEARRAY of Variants.
The first dimension is the column and the second dimension is the row.
Provided that the GridData.RowCount and GridData.ColumnCount have been previously set, it is also possible to set the property with a 1-dimensional SAFEARRAY or with a JScript Array. In this case the array must contain Row * Column items and the data is interpreted to be ordered row by row rather than column by column.
Using this property it is possible to manipulate data from any Softimage method which returns a 2-dimensional array, for example ClusterProperty data. This is demonstrated in one of the examples.
// get accessor Object rtn = GridData.Data; // set accessor GridData.Data = Object;
• See GridData.Data.1.vbs
• See GridData.Data.2.js
Autodesk Softimage 2011