pltIPlotManager UndoMacro

Undoes a macro.

Syntax

pltIPlotManager_handle UndoMacro

Application

HyperWorks Tcl Modify

Description

This command “undoes” the macro after it has plotted a curve. To “undo” means to cancel or reverse the last command executed. This means that the macro that was plotted is removed from the plot (but the macro command is still available).

Example

hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetClientHandle plot;
sess GetClientManagerHandle pm Plot;
pm UndoMacro;
plot Draw;

Errors

Success (0) or an error message is returned.

Keywords

HyperWorks

Tcl

Macro

Modify