pulIMacro GetVarname

Returns the varname of the current macro.

Syntax

pulIMacro GetVarname

Application

HyperWorks Tcl Query

Description

This command returns the varname of the current macro.

Example

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

Errors

Returns 3 if there is an invalid macro handle.

Returns 1 if a varname for the macro does not exist.

Keywords

HyperWorks

Macro

Tcl