poICFD SetStreamLineStyle

Specifies the style of the streamlines in the CFD Plot/Streamlines panel.

Syntax

poICFD_handle SetStreamLineStyle streamline_style

Application

HyperView Tcl Modify

Description

This command specifies the style of the streamlines in the CFD Plot/Streamlines panel, and returns success (if successful). The streamline type must be one of the supported streamline styles. You can get the supported streamline styles from the CFD Plot/Streamlines panel by using the GetStreamLineStyleList command.

Inputs

streamline_style
The streamline style to be set.

Example

To specify the style of the streamlines to "tube":
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 SetStreamLineStyle "tube"
hwi CloseStack

Error

Returns HW_InvalidArgs if the specified style is not supported.