pulIMacro SetName

Sets the name of the current macro to the specified name.

Syntax

pulIMacro SetNamename

Application

HyperWorks Tcl Modify

Description

Sets the name of the current macro to the specified name.

Inputs

name
This command sets the name of the current macro to name.

Example

hwi GetSessionHandle sess
sess GetClientManagerHandle pm plot
pm GetMacroHandle macro 1
macro SetName “New Macro 1”

Errors

Returns 3 if there is an invalid macro handle.

Returns 4 if name does not exist or is invalid.

Keywords

HyperWorks

Macro

Tcl