poIFLDCtrl GetContourMode
Gets the current contour type of FLD.
Syntax
poIFLDCtrl_handle GetContourMode
Application
HyperView Tcl Query
Description
This command retrieves the current contour type for FLD.
Example
To get the current contour mode for FLD case 1:
Note: The example below assumes that an FLD
is currently plotted in a HyperView
session.
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 GetFLDCtrlHandle fld_ctrl
fld_ctrl AddCase
fld_ctrl GetCaseHandle caseH 1
fld_ctrl SetEnableState true
client_handle Draw
set contourMode [ caseH GetContourMode ]
hwi CloseStack
Errors
Returns “zone”, “distance”, or “failure_percentage” type if successful, otherwise “invalid”.