Get the number of rows in active worksheet.
GetRowCount()
The number of rows in active worksheet.
EX1
#Create Book1 with one sheet import PyOrigin wks=PyOrigin.FindWorksheet('Book1') #Get the number of columns in active sheet print('There are %d rows in active sheet' % wks.GetRowCount())
Datasheet::SetRowCount