poICFD SetStreamLineColoredByMode
Specifies the 'colored-by mode' of the streamlines in the CFD Plot/Streamlines panel.
Syntax
poICFD_handle SetStreamLineColoredByMode streamline_colored_by_mode
Application
HyperView Tcl Modify
Description
This command specifies how to color the streamlines in the CFD Plot/Streamlines panel, and
returns success (if successful). The valid streamline 'colored-by modes' are “seed” and
“rake”. If per “seed” is specified, the individual streamlines will be colored in different
colors. If per “rake” is specified, all of the streamlines belonging to the same rake will
have the same color.
Note: This command will be ignored if a contour plot is
enabled.
Inputs
- streamline_colored_by_mode
- The streamline 'colored-by mode' to be set.
Example
To specify the' colored-by mode' of the streamlines to
"seed":
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 GetCFDCtrlHandle CFD_handle
CFD_handle SetStreamLineColoredByMode seed
hwi CloseStack
Error
Returns HW_InvalidArgs if the specified 'colored-by mode' is not valid.