poICFD DeleteRake
Deletes the specified rake from the CFD Plot/Streamlines panel.
Syntax
poICFD_handle DeleteRake rake_id
Application
HyperView Tcl Modify
Description
This command deletes the rake specified by the rake_id from the CFD Plot/Streamlines panel (streamline creation). The rake specified by the rake_id must exist. You can get the IDs of the existing rakes from the CFD Plot/Streamlines panel by using the GetRakeList command.
Inputs
- rake_id
- The ID of the rake to be deleted.
Example
To delete a rake with an ID of
"1":
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 DeleteRake
hwi CloseStack
Error
Returns HW_IDNotFound if the rake specified by the rake_id does not exist.