poICFD_rake SetRakeGoemetry

Returns the definition string of the rake in the CFD Plot/Streamlines panel.

Syntax

poICFD_rake_handle SetRakeGeometry "rake_def_parameters" "rake_type"

Application

HyperView Tcl Modify

Description

This command sets the definition of the rake in the CFD Plot/Streamlines panel. If the rake_type argument is specified, the rake will change to the new type and the rake_def_parameters argument will be parsed and interpreted based on the new rake type.

Inputs

rake_def_parameters
This argument is used to: Specify the 2D part used as the seeds ‘carrier’ - in the case of an "Area" rake type which is in the format of a part locator string or define the positions of the rake start/end points - in the case of a "Line" rake type which in the following format: X1, Y1, Z1,X2, Y2, Z2.
Note: Spaces may be used as separators also.

Example

To set the definition string of the rake:
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 GetRakeHandle CFD_rake_handle [CFD_handle AddRake “line”]
CFD_rake_handle SetRakeGeometry "1.0 1.0 1.0 2.0 3.0 2.5"
hwi CloseStack

Errors

Returns HW_InvalidHandle if the core object associated with the rake handle no longer exists, or HW_InvalidArg1 if the arguments are invalid.