TmEnumerateGraels Function
Returns all the graphical elements that were set for a given VDA Tool.
Usage
grael_list = TmEnumerateGraels(tool_name)
Parameters
tool_name—A string containing the unique name of a VDA Tool.
Returned Value
grael_list—An array of strings containing the graphical elements that were set for the given VDA Tool.
Keywords
None.
Discussion
Before you can manipulate a graphical element, you must know its name. Use this function to return the names of graphical elements in a VDA Tool. With the name, you can use functions like TmGetAttribute, TmSetAttribute, TmSetGraelMethod, and other routines that perform graphical element operations.
Example
List the graels currently registered with the given VDA Tool.
PRINT, TmEnumerateGraels('WzPlot_0')
TM_WINDOWID TM RECTANGLE LINE AXIS LEGEND TEXT MENUBAR
BUTTONBAR MESSAGE TM_HELP AXIS_0 AXIS_1 TM_DRAWING
RECTANGLE_2 LINE_1 CIRCLE RECTANGLE_0 RECTANGLE_1 LINE_0
LINE_2
See Also
TmAddGrael, TmDelGrael, TmGetGraelRectangle,
TmGetUniqueGraelName, TmSetGraelRectangle