TmExportSelection Procedure
Exports the contents of the variable selection list to specified VDA Tools.
Usage
TmExportSelection, destination_tool_names
Parameters
destination_tool_names—A string array containing the names of currently active VDA Tools to export the data to.
Keywords
All—If present and nonzero, export the variables on the selection list to all VDA Tools that accept imported data.
Discussion
The Tools Manager maintains a list of variables that have been selected in a VDA Tool. The selected variables list enables variables to be exchanged between VDA Tools. Add variables with the TmAddSelectedVars routine.
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 the HAN in VDA Tool WzPlot to the selected variables list.
TmAddSelectedVars, 'WzPlot_0', 'HAN'
; Enumerate the 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
Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.