pltIMacro SetCurveAttachmentExpression

Sets the curve that the curve note is attached to.

Syntax

pltIMacro_handle SetCurveAttachmentExpression expr

Application

HyperWorks Tcl Modify

Description

This command sets the curve that the curve note is attached to. This function only works if there is a macro with a note that is attached to one of the curves.

Inputs

expr
The expression (math reference) of the curve the you want to attach the note to. An expression usually states the exact location of the curve. For example, for a curve on the first page, in the first window, the first curve would have the math reference p1w1c1.

Example

hwi GetSessionHandle sess;
sess GetClientManagerHandle pm Plot;
pm GetMacroHandle mc 1
mc SetCurveAttachmentExpression p1w1c1
mc Apply original false

Errors

Success (0) or an error message is returned.

Keywords

HyperWorks

Tcl

Macro

Note

Modify