Matrixsheet::GetNumMats

It is recommended that you switch to the originpro package. PyOrigin is primarily for users who need to work with Origin version prior to 2021.

 

Description

Get the number of MatrixObjects in a MatrixSheet.

Syntax

 GetNumMats()

Parameters

Return

The number of MatrixObjects in a MatrixSheet.

Examples

EX1

import PyOrigin
msheet = PyOrigin.ActiveLayer()
msheet.SetNumMats(2)
print(msheet.GetNumMats())

See Also

Matrixsheet::SetNumMats