TmPaste Procedure

Pastes the graphical elements from the clipboard to the specified VDA Tool.

Usage

TmPaste, tool_name

Parameters

tool_name—A string containing the unique name of a VDA Tool into which to paste the graphical elements.

Keywords

None.

Discussion

The TmAddSelectedGrael function is used to add graphical elements to a selection list maintained by the Tools Manager. Once on the selection list, graphical elements can be copied, pasted, cut, or deleted. TmPaste pastes the graphical element or elements currently on the clipboard (a temporary buffer) to the specified VDA Tool.

Example

The following commands obtain the names of the graphical elements registered for a VDA Tool, add one of the graphical elements to the selection list, then copy and paste the graphical element (a rectangle).

PRINT, TmEnumerateGraels('WzPlot_0')
TmAddSelectedGrael, 'WzPlot_0', 'RECTANGLE_0'
PRINT, TmEnumerateSelectedGraels('WzPlot_0')
TmCopy, 'WzPlot_0'
TmPaste, 'WzPlot_0'

See Also

TmCopy, TmCut, TmDelete