TmGetUniqueGraelName Function

Gets a unique name based on the name of the specified graphical element.

Usage

name = TmGetUniqueGraelName(tool_name, grael_name)

Parameters

tool_name—A string containing the unique name of a VDA Tool.

grael_name—A string containing the name of the graphical element.

Returned Value

name—A string containing a unique name for the graphical element.

Keywords

None.

Discussion

Use this function to get a unique graphical element name before using the TmAddGrael function.

The unique name returned by this function is a variation on the name provided by the grael_name input parameter (i.e., LINE_2, if LINE_0 and LINE_1 already exist).

Example

PRINT, TmGetUniqueGraelName('WzPlot_0', 'LINE') LINE_0

See Also

TmAddGrael, TmDelGrael, TmEnumerateGraels, TmGetGraelRectangle, TmSetGraelRectangle