poITensorCtrl RestorePlotStyle

Resets the contour controller settings with a memorized plot style.

Syntax

poITensorCtrl_handle RestorePlotStyle style_name

Application

HyperView Tcl Modify

Description

This command updates the tensor controller settings with the new settings specified by the plot style name.

Inputs

style_name
The name of the plot style.

Example

To restore a tensor plot style:
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 RestorePlotStyle style_name
hwi CloseStack

Errors

Returns an error if the tensor controller handle is invalid, or if the plot style name could not be found.