pltIPlotManager AddMacro
Adds a Macro.
Syntax
pltIPlotManager_handle AddMacro name
Application
HyperWorks Tcl Modify
Description
This command adds a 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
- name
- The name of the function. If you want to make the name more than one word, quotes around the name must be used.
Example
hwi GetSessionHandle sess;
sess GetClientManagerHandle pm Plot;
pm AddMacro “New Macro”;
Errors
Success (0) or an error message is returned.
Keywords
HyperWorks
Tcl
Macro
Modify
Create