The collection of MatrixObjects in the MatrixSheet
VB: Property Get MatrixObjects As MatrixObjects
C++: MatrixObjects MatrixObjects
C#: MatrixObjects MatrixObjects
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
8.0SR2