pulIMacro PasteParameter

Pastes the specified parameter, which has previously been copied.

Syntax

pulIMacro PasteParameter index

Application

Tcl Modify

Description

This command pastes the copied parameter with the given index.

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 CopyParameter 1
macro PasteParameter 1

Errors

Returns 3 = HW_InvalidHandle if there is an invalid macro handle.

Keywords

Macro

Tcl