poICFD_rake GetNumberOfSeeds

Returns the number of the seeds in the rake used for the stream integration creation in the CFD Plot/Streamlines panel.

Syntax

poICFD_rake_handle GetNumberOfSeeds

Application

HyperView Tcl Query

Description

This command returns the number of the seeds in the rake used for the streamline creation in the CFD Plot/Streamlines panel.
Note: In the case of an "Area" rake, the number of seeds returned could be smaller than the value specified by the SetNumberOfSeeds command, since the real number of seeds cannot exceed the number of elements in the 2D part, which is specified when the rake is defined.

Example

To get the number of the seeds in the rake used for the streamline creation:
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 GetNumberOfSeeds
hwi CloseStack

Error

Returns 0 if the core object associated with the rake handle no longer exists.