pltIPlotManager GetMacroHandle

Gets the macro handle.

Syntax

pltIPlotManager_handle GetMacroHandleiMacro, idx

Application

HyperWorks Tcl Query

Description

This command gets the handle for a specific macro. A macro is a user-defined function that depends on a curve in the plot. For example, you can create a macro that takes the derivative of a curve.

Inputs

iMacro
The name of the macro handle.
idx
The index of the macro that you want to get the handle of.

Example

hwi GetSessionHandle sess;
sess GetProjectHandle proj;
sess GetClientManagerHandle pm Plot;
pm AddMacro “New Macro”;
pm GetMacroHandle m1 1;

Errors

Success (0) or an error message is returned.

Keywords

HyperWorks

Tcl

Macro

Query