poIFLDCtrl SetContourMode
Sets the FLD contour type.
Syntax
poIFLDCtrl_handle SetContourMode"distance"|"zone"|"failure_percentage"
Application
HyperView Tcl Modify
Description
This command sets the current contour type for FLD in HyperView.
Example
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
caseH SetContourMode “failure_percentage”
fld_ctrl SetEnableState true
client_handle Draw
hwi CloseStack
Errors
Returns 0 if successful, otherwise an error code.