hwIWindow SetSyncOffset

Sets the offset of a given window.

Syntax

hwIWindow_handle SetSyncOffset offset

Application

HyperWorks Tcl Modify

Inputs

offset
The new offset for the window.

Example

To set the offset for a given window:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName 1
myPageName GetWindowHandle myWindowName 1
myWindowName SetSyncOffset 2.0

Error

Success (0) or an error code (see below).

3 = HW_InvalidHandle if window handle is invalid.