GetNumResColumnName
Returns the name of the specified column of the Numerical Results Window.
Syntax
GetNumResColumnName(doc, col)
Parameters
Parameter |
Type |
Description |
---|---|---|
doc |
documentReference |
Reference to the document |
col |
number |
1-based column number. |
Return
Returns the name of the column of the Numerical Results Window of the first graphical view of the document.
Examples
Python
import nex
doc = nex.GetActiveDocument()
nex.ApplyTemplate(doc, "PerieventHistograms")
# get the name of the second column of the Numerical Results Window
colName = nex.GetNumResColumnName(doc, 2)
NexScript
doc = GetActiveDocument()
ApplyTemplate(doc, "PerieventHistograms")
% get the name of the second column of the Numerical Results Window
colName = GetNumResColumnName(doc, 2)