iv_documentParamValueAsString()

Synopsis

Reads a parameter value (identified by name) after the document is updated, and returns the result with units as a string .

Syntax

iv_documentParamValueAsString ( documentHandle As String, _
                                paramName As String, _
                                units As String ) As String 
Argument Type Description
documentHandle string Handle of the document owning the parameter.
paramName string Name of the parameter.
units string Units of the parameter.

Example 1

Return Model, User, and Reference parameters
Intent >iv_documentParamValue(%%document, "d0", "mm") 
--> "10.000 mm" 
Intent >iv_documentParamValue(%%document, "height", "mm") 
--> "50.000 mm"
Intent >iv_documentParamValue(%%document, "diameter", "mm") 
--> "20.000 mm"