hwIWindow SetSyncScale

Sets the scale of a given window.

Syntax

hwIWindow_handle SetSyncScalescale

Application

HyperWorks Tcl Modify

Inputs

scale
The new scale for the window.

Example

To set the scale for a window:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName 1
myPageName GetWindowHandle myWindowName 1
myWindowName SetSyncScale 2.0

Error

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

3 = HW_InvalidHandle if window handle is invalid.