poIContourCtrl GetOffset

Gets the current contour offset value (lowest scale in the legend).

Syntax

poIContourCtrl_handle GetOffset

Application

HyperView Tcl Modify

Description

This command returns the current contour offset value (lowest scale in the legend).

Example

To get the current offset value:
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 GetOffset

Error

Returns the offset value, or an error code (HW_InvalidHandle) if the handle used to invoke the method is no longer valid.