poICFD GetStreamLineColoredByMode
Returns the 'colored-by mode' of the streamlines in the CFD Plot/Streamlines panel.
Syntax
poICFD_handle GetStreamLineColoredByMode
Application
HyperView Tcl Query
Description
Returns the 'colored-by mode' of the streamlines in the CFD Plot/Streamlines panel. If the returned mode is “seed”, it means that the individual streamlines will be colored in different colors. If the returned mode is “rake”, it means that all of the streamlines belonging to the same rake will have the same color. Note that the 'colored-by mode' will be ignored if a contour plot is enabled.
Example
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 GetStreamLineColoredByMode
hwi CloseStack
Error
This command always returns the 'colored-by mode' currently being used.