pulIMacro RemoveParameter

Removes the specified parameter from the macro.

Syntax

pulIMacro RemoveParameter index

Application

HyperWorks Tcl Modify

Description

This command removes the parameter with the given index from the macro.

Inputs

index
The index of the parameter to be pasted. Must be a positive integer.

Example

hwi GetSessionHandle sess
sess GetClientManagerHandle pm plot
pm GetMacroHandle macro 1
macro AddParameter "Parameter 1"
macro RemoveParameter 1

Errors

Returns 3 if there is an invalid macro handle.

Returns 4 if the index is less than 0 or greater than the number of parameters in the current macro.

Keywords

HyperWorks

Macro

Tcl