GetNumResSummaryNCols

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

Syntax

GetNumResSummaryNCols(doc)

Parameters

Parameter

Type

Description

doc

documentReference

Reference to the document

Return

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

Note

In Python, you can also use doc method GetNumResSummaryNCols:

import nex
doc = nex.GetActiveDocument()
nex.ApplyTemplate(doc, "PerieventHistograms")
numCols = doc.GetNumResSummaryNCols()

Examples

Python

import nex
doc = nex.GetActiveDocument()
nex.ApplyTemplate(doc, "PerieventHistograms")
numCols = nex.GetNumResSummaryNCols(doc)

NexScript

doc = GetActiveDocument()
ApplyTemplate(doc, "PerieventHistograms")
numCols = GetNumResSummaryNCols(doc)