An Integer value represent the number of MatrixObjects in this MatrixSheet
VB: Property Get/Let Mats As Integer
C++: int Mats
C#: int Mats
Sub Mats() 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.Mats MsgBox("The active matrixsheet has " + nNum.ToString() + " MatrixObjects") End Sub
8.0SR2