poITensorCtrl GetShowValueMode
Gets the state of the tensor's value draw mode.
Syntax
tensor_handle GetShowValueMode mode_name
Application
HyperView Tcl Query
Description
This command returns true/false to represent if a particular draw mode value is currently turned "on" or "off".
Inputs
- mode_name
- The possible values are: all, normal, or shear.
Example
To find out if the shear value of a tensor is drawn, use the following
commands:
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
set smode [tensor_handle GetShowValueMode shear]
hwi CloseStack
Errors
Returns a non-zero value if an error occurs.