poIContourCtrl SetThresholdMax
Sets the maximum threshold value of a contour.
Syntax
poIContourCtrl_handle SetThresholdMax value
Application
HyperView Tcl Modify
Description
This command sets the maximum threshold value of a contour.
Note: If an invalid real value
is passed, then the value is set to 0.0.
Inputs
- value
- The maximum threshold value to be set.
Example
To set the maximum threshold value to
10:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
set pageIndex [myProjectName GetActivePage]
myProjectName GetPageHandle myPageName $pageIndex
set windowIndex [myPageName GetActiveWindow]
myPageName GetWindowHandle myWindowName $windowIndex
myWindowName GetClientHandle myPostName
set modelIndex [myPostName GetActiveModel]
myPostName GetModelHandle myModelName $modelIndex
myModelName GetResultCtrlHandle myResultName
myResultName GetContourCtrlHandle myContourName
myContourName SetThresholdMax 10
Error
Returns 0 if successful, or an error code (HW_InvalidHandle) if the handle used to invoke the method is no longer valid.