poINote SetScreenAnchor
Anchors the note at its current position.
Syntax
note_handle SetScreenAnchor true/false
Application
HyperView Tcl Modify
Description
If a note is anchored, it will remain stationary when the model is panned/rotated, and the leader line is either stretched or shrunk so that the note will maintain in its current position.
Example
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetNoteHandle note_handle 2;
# Turn on anchor option
note_handle SetScreenAnchor true;
# Turn off anchor option
note_handle SetScreenAnchor false;
hwi CloseStack
Errors
This command returns (0) if successful, or a "non-zero value" if an error occurred.