poICFD SetStreamLineSize
Specifies the size of the streamlines in the CFD Plot/Streamlines panel.
Syntax
poICFD_handle SetStreamLineSize streamline_size
Application
HyperView Tcl Modify
Description
This command specifies the size of the streamlines in the CFD Plot/Streamlines panel, and returns success (if successful). The streamline size must be a positive float.
Inputs
- streamline_size
- The streamline size to be set.
Example
To specify the size of the streamlines to
"2":
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 SetStreamLineSize 2
hwi CloseStack
Error
Returns HW_InvalidArgs if the specified size is not valid (negative or zero).