This example retrieves the inertia matrix components in
oInertiaMatrixArray from
the Analyze object associated with myProduct:
' Components array initialization
Dim oInertiaMatrixArray ( 8 )
' Get value in array
Myproduct.Analyze.GetInertia oInertiaMatrixArray
' oInertiaMatrixArray ( 0 ) is the Ixx component
' oInertiaMatrixArray ( 1 ) is the Ixy component
' oInertiaMatrixArray ( 2 ) is the Ixz component
' oInertiaMatrixArray ( 3 ) is the Iyx component
' oInertiaMatrixArray ( 4 ) is the Iyy component
' oInertiaMatrixArray ( 5 ) is the Iyz component
' oInertiaMatrixArray ( 6 ) is the Izx component
' oInertiaMatrixArray ( 7 ) is the Izy component
' oInertiaMatrixArray ( 8 ) is the Izz component