pulIMacro GetExpression
Returns the specified expression for the current macro.
Syntax
pulIMacro GetExpressionname
Application
HyperWorks Tcl Query
Description
Returns the specified expression for the current macro.
Inputs
- name
- This command returns the expression specified by name. Acceptable values for name are “x”, “y”, and “y2”, with “y2” being used to get the secondary Y expression of a complex curve.
Example
hwi GetSessionHandle sess
sess GetClientManagerHandle pm plot
pm GetMacroHandle macro 1
puts [macro GetExpression x]
Errors
Returns 3 = HW_InvalidHandle if there is an invalid macro handle.
Returns 1 if the specified expression does not exist.
Keywords
HyperWorks
Macro
Tcl