pulIMacro Apply
Applies the current macro.
Syntax
pulIMacro Apply destination, hide_inputs, option, layout
Application
HyperWorks Tcl Modify
Description
This command applies the current macro.
Inputs
- destination
- The plot in which the macro should be applied. Options include:
- original
- new
- current
- hide_inputs
-
- 1
- Hides input curves.
- 0
- Does not hide input curves.
- option
- Designates whether the resulting curves should all be in the same plot (in which case, the value “oneplot” should be passed) or, if each curve should be in its own plot (“NULL”). This is only used if destination is “new”.
- layout
- The number corresponding to the plot layout to be used. It can be any integer from 0-15 and is only used if destination is “new” and option is NULL.
Example
hwi GetSessionHandle sess
sess GetClientManagerHandle pm plot
pm GetMacroHandle macro 1
macro AddParameter “Parameter 1”
macro SetName “New Macro 1”
macro Apply new 1 NULL 4
Errors
Returns 3 = HW_InvalidHandle if there is an invalid macro handle.
Keywords
HyperWorks
Macro
Tcl