poITensorCtrl SetShowPrefixMode
Sets the show prefix mode used for drawing tensor prefixes in the graphics area.
Syntax
tensor_handle SetShowPrefixModemode_name state
Application
HyperView Tcl Modify
Description
This command sets the show prefix mode used for drawing tensor prefixes in the graphics area. This command will control whether shear prefixes, normal prefixes, or all prefixes of the tensor will be drawn.
Inputs
- mode_name
- The possible values are: all, normal, or shear.
- state
- The possible values are: true or false.
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 GetModelHandle model_handle [client_handle GetActiveModel]
model_handle GetResultCtrlHandle result_handle
result_handle GetTensorCtrlHandle tensor_handle
tensor_handle SetShowPrefixMode shear false
hwi CloseStack
Errors
Returns 0 if successful, otherwise an error code.