GetNumResNCols
Returns the number of columns of the Numerical Results Window of the first graphical view of the document.
Syntax
GetNumResNCols(doc)
Parameters
Parameter |
Type |
Description |
---|---|---|
doc |
documentReference |
Reference to the document |
Return
Returns the number of columns of the Numerical Results Window of the first graphical view of the document.
Note
In Python, you can also use doc method GetNumResNCols
:
import nex
doc = nex.GetActiveDocument()
nex.ApplyTemplate(doc, "PerieventHistograms")
numCols = doc.GetNumResNCols()
Examples
Python
import nex
doc = nex.GetActiveDocument()
nex.ApplyTemplate(doc, "PerieventHistograms")
numCols = nex.GetNumResNCols(doc)
NexScript
doc = GetActiveDocument()
ApplyTemplate(doc, "PerieventHistograms")
numCols = GetNumResNCols(doc)