TmEnumerateSelectedGraels Function
Obtains a list of graphical elements or other items currently on the graphical items selection list.
Usage
graels = TmEnumerateSelectedGraels(tool_name)
Parameters
tool_name—A string containing the unique name of a VDA Tool.
Returned Value
graels—A string array containing all the names of the graphical elements or other items on the selection list for the VDA Tool.
Keywords
None.
Discussion
The graphical element selection list enables graphical elements to be cut, copied, pasted, and deleted from VDA Tools. For a list of graphical elements associated with a VDA Tool, use the TmEnumerateGraels function.
Example
The following commands add graphical elements to the selection list and then print out the contents of the list.
PRINT, TmEnumerateGraels('WzPlot_0')
TM_WINDOWID TM RECTANGLE LINE AXIS LEGEND TEXT MENUBAR
BUTTONBAR MESSAGE XX TM_HELP AXIS_0 AXIS_1 TM_DRAWING
RECTANGLE_0 LINE_1 GROUP_0
TmAddSelectedGrael, 'WzPlot_0', 'RECTANGLE_0'
PRINT, TmEnumerateSelectedGraels('WzPlot_0')
; PV-WAVE prints: RECTANGLE_0