poITensorCtrl SetShearComponentScale

Sets the scale factor for the shear component.

Syntax

tensor_handle SetShearComponentScalescale_factor

Application

HyperView Tcl Modify

Description

This command sets the scale factor for the tensor shear components that will be used in the tensor display.

Inputs

scale_factor
A float value representing the scale factor.

Example

To set a shear scale factor of 3:
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 SetShearComponentScale 3.0
hwi CloseStack

Errors

Returns a non-zero value if an error occurs.