poICFD DeleteStreamLines
Deletes the streamlines for the rakes specified in the CFD Plot/Streamlines panel.
Syntax
poICFD_handle DeleteStreamLines rake_ids
Application
HyperView Tcl Modify
Description
This command deletes the streamlines belonging to all of the rakes specified by the rake_ids in the CFD Plot/Streamlines panel. If no argument is passed, this command will delete the streamlines for all of the existing rakes. The rake_ids argument should contain the rake IDs, separated by a space or comma. Any invalid rake IDs specified in the list will be ignored.
Inputs
- rake_ids
- The ID list of the rakes for which the streamlines are to be deleted.
Example
To delete streamlines for rakes with the ID of
"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 AddRake line
CFD_handle AddRake area
CFD_handle AddRake CreateStreamLines "1 2"
CFD_handle AddRake DeleteStreamLines "2"
hwi CloseStack
Error
Returns HW_InvalidArgs if the rake_ids contain no valid rake ID, or HW_Warning if there is any issue in the process of the streamline deletion.