poIImagePlane ClearAlignmentPoints

Clears all alignment points of the image plane.

Syntax

Imageplane_handle ClearAlignmentPoints

Application

HyperView Tcl Modify

Description

This command clears all the alignment points associated with an image plane.

Example

The following example adds three alignment points and then also clears all of them:
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
set ipid1 [ipc_handle AddImagePlane Logo1]
ipc_handle GetImagePlaneHandle imageplane_handle $ipid1

# Add 3 alignment points
imageplane_handle AddAlignmentPoint
imageplane_handle AddAlignmentPoint
imageplane_handle AddAlignmentPoint

# Clear all the alignment points
imageplane_handle ClearAlignmentPoints

puts "Alignment point count is [imageplane_handle GetNumAlignmentPoints]"


hwi CloseStack

Errors

None.