pulIMacro GetTargetName

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

Syntax

pulIMacro GetTargetName

Application

HyperWorks 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

HyperWorks

Macro

Tcl