plt3DINote SetPosition

Sets the user-defined position of a note in HyperGraph 3D, or sets the fixed position of a note in the GUI.

Syntax

plt3DINote_handle SetPositionx y top bottom left right topleft topright bottomleft bottomright

Application

HyperWorks Tcl Modify

Description

Sets the user-defined position of a note in HyperGraph 3D, or sets the fixed position of a note in the GUI.

Inputs

x
A value that specifies the left to right location of the note in HyperGraph 3D.
y
A value that specifies the top to bottom location of a note in HyperGraph 3D.
top
Places the note at the top of the plot window.
bottom
Places the note at the bottom of the plot window.
left
Places the note on the left side of the plot window.
right
Places the note on the right side of the plot window.
topleft
Places the note on the top left side of the plot window.
topright
Places the note on the top right side of the plot window.
bottomleft
Places the note on the bottom left side of the plot window.
bottomright
Places the note on the bottom right side of the plot window.

Example

hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetClientHandle plot;
plot AddNote;
plot GetNoteHandle n1 1;
n1 SetPosition 20 20
or
hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetClientHandle plot;
plot AddNote;
plot GetNoteHandle n1 1;
n1 SetPosition top

Errors

Success (0) or an error code.