poIContourCtrl SetCurrentPlotStyle
Sets the current plot style.
Syntax
poIContourCtrl_handle SetCurrentPlotStyle "style_name"
Application
HyperView Tcl Modify
Description
This command updates the current contour plot style with the given value.
Inputs
- style_name
- The name of the plot style.
Example
To update/set the current contour 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 GetContourCtrlHandle contour_handle
contour_handle SetCurrentPlotStyle "style_name"
hwi CloseStack
Error
Returns an error if the contour controller handle is invalid.