SaveResults
Saves numerical and graphical results as well as an analysis template for the first graphical view of the document.
Syntax
SaveResults(doc, fileName, comment)
Parameters
Parameter |
Type |
Description |
---|---|---|
doc |
documentReference |
Reference to the document |
fileName |
string |
The path of the .nexresult file. Use SavedResults | Open Saved Results File… menu command to open saved result |
comment |
string |
The user comment for the result |
Return
None.
Examples
Python
import nex
doc = nex.GetActiveDocument()
nex.ApplyTemplate(doc, "Autocorrelograms")
nex.SaveResults(doc, "C:\\Data\\MyResult.nexresult", "some comment")
NexScript
doc = GetActiveDocument()
ApplyTemplate(doc, "Autocorrelograms")
SaveResults(doc, "C:\Data\MyResult.nexresult", "some comment")