pulIMacro GetTargetName

Returns the name of the target (curve) created by the current macro.

Syntax

pulIMacro GetTargetName

Application

Tcl Query

Description

This command returns the name of the target (curve) created by the current macro.

Example

hwi GetSessionHandle sess
sess GetClientManagerHandle pm plot
pm GetMacroHandle macro 1
puts [macro GetTargetName]

Error

Returns 3 if there is an invalid macro handle.

Returns 1 if a target name does not exist.

Keywords

Macro

Tcl