poITensorCtrl SetHeadType
Sets the type of head that is drawn on each tensor.
Syntax
tensor_handle SetHeadType type
Application
HyperView Tcl Modify
Description
This command sets the type of head that is drawn on each tensor. "Arrow" specifies that an arrowhead is drawn on each tensor. "None" specifies that nothing will be drawn.
Inputs
- type
- The type of head to draw. Valid options include: “Arrow” or “None”.
Example
To set the type of head that is being drawn on a
tensor:
hwi OpenStack
hwi GetSessionHandle session_handle
hwi GetActiveClientHandle client_handle
client_handle GetModelHandle model_handle [client_handle GetActiveModel]
model_handle GetResultCtrlHandle rc
rc GetTensorCtrlHandle tc
tc SetHeadType none
tc SetHeadType arrow
hwi CloseStack
Errors
Returns HW_InvalidHandle if the handle used to invoke the method is no longer valid. Returns HW_InvalidArgs if an invalid head type is specified.