poICFD CreateStreamLines

Creates streamlines for the specified rakes based on the current settings in the CFD Plot/Streamlines panel.

Syntax

poICFD_handle CreateStreamLinesrake_ids

Application

HyperView Tcl Modify

Description

This command creates streamlines for all rakes specified by the rake_ids argument, based on the current settings in the CFD Plot/Streamlines panel. If no argument is passed, this command will create 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 created.

Example

To create streamlines for rakes with the IDs of "1" and "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"
hwi CloseStack

Errors

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 creation.