2.29.10 MatrixObjects


Description

The collection of MatrixObjects in the MatrixSheet

Syntax

VB: Property Get MatrixObjects As MatrixObjects
C++: MatrixObjects MatrixObjects
C#: MatrixObjects MatrixObjects

Remark

Examples

VB

    Sub MatrixObjects()
        Dim app As Origin.IOApplication
        Dim msh As Origin.MatrixSheet

        app = New Origin.ApplicationSI
        msh = app.FindMatrixSheet("") 'get active matrixsheet

        If msh Is Nothing Then
            MsgBox("Can not get active matrixsheet")
            Exit Sub
        End If
        Dim nNum As Integer
        nNum = msh.MatrixObjects.Count
        MsgBox("The active matrixsheet has " + nNum.ToString() + " MatrixObjects")
    End Sub

Version Information

8.0SR2

See Also