Using the GridData Object

The GridData object provides a way for you to manage 2-dimensional SAFEARRAYs more easily. Of special interest is the fact that property pages support the GridData parameter so you can easily view the 2-dimensional information (see Example: Storing an existing array in a GridData object).

There are two different ways to create a GridParameter object:

• As the value of a special grid Parameter on a CustomProperty set (see Using a GridData Object in a Custom Property Set).

• From the instrinsic XSIFactory object, for temporary use (see Using a Temporary GridData Object).

In fact, some languages (such as JScript) do not support multi-dimensional arrays, so the GridData object allows JScript authors to manipulate 2-dimensional SAFEARRAYs.

Autodesk Softimage v7.5