pulIMacro SetTargetName

Sets the name of the target (curve) created by the current macro to the specified name.

Syntax

pulIMacro SetTargetName name

Application

Tcl Modify

Description

Sets the name of the target (curve) created by the current macro to the specified name.

Inputs

name
This command sets the name of the target (curve) created by the current macro to be name.

Example

hwi GetSessionHandle sess
sess GetClientManagerHandle pm plot
pm GetMacroHandle macro 1
macro SetTargetName "Curve 1 – Velocity"

Errors

Returns 3 if there is an invalid macro handle.

Returns 4 if name does not exist or is invalid.

Keywords

Macro

Tcl