poINote SetAttachment

Sets the note attachment method.

Syntax

poINote_handle SetAttachment "attachment"

Application

HyperView Tcl Modify

Description

This command sets the note attachment method.

Inputs

"attachment"
The attachment method. Options include:
window
The note remains stationary when the animation image is repositioned in the window.
"node model_id node_id"
The note can be anchored to any node in the model. Note attached to model = model_id. Node with id = node_id.
"element model_id element_pool element_id"
The note can be anchored to any element in the model. Note attached to a model = model_id. Element pool = element_pool. Element with id = element_id. If the element pool is not specified, the selection will be done from the user pool as default.
coord
The note can be anchored to the XYZ coordinates of the model.

Example

set model_id 1
set node_id 300
set elem_pool "my_elem_pool"
note_handle SetAttachment "node $model_id $node_id"
set element_id 20
note_handle SetAttachment "element $model_id $elem_pool $element_id"
set x 1.0
set y 1.0
set z 1.0
note_handle SetAttachment "coord $X $Y $Z"

Errors

Returns 0 if successful, otherwise an error code.