poITensorCtrl GetShowPrefixMode

Gets the state of the tensor's prefix draw mode.

Syntax

tensor_handle GetShowPrefixMode mode_name

Application

HyperView Tcl Query

Description

This command returns true/false to represent if a particular draw mode prefix is currently turned "on" or "off".

Inputs

mode_name
The possible values are: all, normal, or shear.

Example

To find out if the shear prefix 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 sprefix [tensor_handle GetShowPrefixMode shear]
hwi CloseStack

Errors

None.