poIImagePlane SetSyncModel

Sets the model being synchronized with the image plane video.

Syntax

Imageplane_handle SetSyncModel model

Application

HyperView Tcl Modify

Description

This command sets the model being synchronized with the image plane.

Inputs

model
The index of the model to be synchronized.

Example

To set the sync model of an image plane with an index of 1 to a model with an index of 1:
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 GetImagePlaneCtrlHandle ipc_handle
ipc_handle GetImagePlaneHandle image_plane_handle 1
image_plane_handle SetSyncModel 1
hwi CloseStack

Errors

Returns HW_InvalidHandle if the image plane handle is invalid, or HW_Error if the sync table is not successfully updated.