GetNumResNRows

Returns the number of rows of the Numerical Results Window of the first graphical view of the document.

Syntax

GetNumResNRows(doc)

Parameters

Parameter

Type

Description

doc

documentReference

Reference to the document

Return

Returns the number of rows of the Numerical Results Window of the first graphical view of the document.

Note

in Python, you can also use doc method GetNumResNRows:

import nex
doc = nex.GetActiveDocument()
numRows = doc.GetNumResNRows()

Examples

Python

import nex
doc = nex.GetActiveDocument()
nex.ApplyTemplate(doc, "PerieventHistograms")
numRows = nex.GetNumResNRows(doc)

NexScript

doc = GetActiveDocument()
ApplyTemplate(doc, "PerieventHistograms")
numRows = GetNumResNRows(doc)