poICFD AddRake

Adds a new rake to the CFD Plot/Streamlines panel.

Syntax

poICFD_handle AddRakerake_type

Application

HyperView Tcl Modify

Description

This command adds a new rake to be used in the CFD Plot/Streamlines panel (streamline creation), and returns the ID of the newly added rake (if successful). The rake type must be one of the supported rake types. You can get the supported rake types from the CFD Plot/Streamlines panel by using the GetRakeTypeList command.

Inputs

rake_type
The rake type to be set.

Example

To add a new rake with a "Line" type:
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
hwi CloseStack

Error

Returns Null_ID if unsuccessful.