poIImagePlane GetNumAlignmentPoints
Gets the number of alignment points in an image plane.
Syntax
Imageplane_handle GetNumAlignmentPoints
Application
HyperView Tcl Query
Description
This command returns the number of alignment points in an image plane.
Example
The following example adds three alignment points and returns the number of alignment
points
defined:
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
puts "Alignment point count is [imageplane_handle GetNumAlignmentPoints]"
hwi CloseStack
Errors
None.