doc.GetPythonAnalysisInput

Returns Python analysis input as a JSON string. This function can only be run from the code in the script that is specified as Python Analysis Script in Python Analysis properties dialog.

Syntax

doc.GetPythonAnalysisInput()

Parameters

None.

Return

Returns Python analysis input as a JSON string.

Examples

Python

import nex
doc = nex.GetActiveDocument()
inputAsString = doc.GetPythonAnalysisInput()