GetAllNumericalResultsAsCOM

Returns the list of all values (as a list or rows, similar to GetNumericalResults() COM method) in the Numerical Results Window of the first graphical view of the document.

Syntax

doc.GetAllNumericalResultsAsCOM()

Parameters

None.

Return

Returns the list of all values (as a list or rows) in the Numerical Results Window of the first graphical view of the document.

Note

GetAllNumericalResultsAsCOM() returns a list object with all the numerical results. Each element of the list is a list containing results from a single row in Numerical Results table. For example to get the 10-th value of the first column of numerical results, use allNumRes[9][0] (see Examples below).

Examples

Python

import nex
doc = nex.GetActiveDocument()
nex.ApplyTemplate(doc, "PerieventHistograms")
allNumResAsCOM = doc.GetAllNumericalResultsAsCOM()
# allNumRes now contains a list object with all numerical results.
# for example, to get the 10-th value of the first column of numerical results, use allNumResAsCOM[9][0]
# thus, allNumResAsCOM[9][0] equals to the result of nex.GetNumRes(doc, 10, 1)