pltIPlotManager PasteMacro
Pastes a macro.
Syntax
pltIPlotManager_handle PasteMacroidx
Application
HyperWorks Tcl Modify
Description
This command pastes the previously copied or cut macro(s). A macro is a user-defined function that depends on a curve in the plot. For example, a macro could be made that takes the derivative of a curve.
Inputs
- idx
- The index (position) of where in the macro list that you want to paste the macro(s). If no index is given, the command pastes the macro at the beginning of the list (the first position). If an index is given, the command pastes the macro in the user-input index and moves the list down one position if it is at or below that index.
Example
hwi GetSessionHandle sess;
sess GetClientManagerHandle pm Plot;
pm CopyMacro 1;
pm PasteMacro 2;
Errors
Success (0) or an error message is returned.
Keywords
HyperWorks
Tcl
Macro
Modify