TmEnumerateSelectedVars Function
Returns the names of variables on the selected variables list.
Usage
vars =TmEnumerateSelectedVars( )
Parameters
None.
Returned Value
vars—A string array containing the $MAIN$ level names of the selected variables.
Keywords
None.
Discussion
The selected variables list is a list of variables maintained by the Tools Manager. This list enables variables to be exchanged between VDA Tools. The TmAddSelectedVars function is used to add variables to the selected variables list.
Example
This example demonstrates how variables from a VDA Tool are added to the variable selection list, exported to another VDA Tool, and deleted from the variable selection list.
; No variables are currently on the variable selection list.
PRINT, TmEnumerateSelectedVars()
; The variable HAN is displayed in the VDA Tool WzPlot_0.
PRINT, TmEnumerateVars('WzPlot_0')
; Add HAN in VDA Tool WzPlot to the selected variables list.
TmAddSelectedVars, 'WzPlot_0', 'HAN'
; Enumerate variables on the selected variables list.
PRINT, TmEnumerateSelectedVars()
; Export variable on selection list to another active VDA Tool.
TmExportSelection, ['WzPlot_2']
; Remove all variables from the variable selection list.
TmDeselectVars
See Also