poIImagePlane GetAlignmentPointList

Gets information about an alignment point.

Syntax

Imageplane_handle GetAlignmentPointListpt_idx

Application

HyperView Tcl Query

Description

This command queries information about an alignment point.

Inputs

pt_idx
The index of the alignment point to be queried. Index starts at 0.

Example

The following example adds three alignment points and queries the second point:
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

set ipdata [imageplane_handle GetAlignmentPointList 1]
puts “Model Node is [lindex $ipdata 0]”
puts “Image point is [lindex $ipdata 1] [lindex $ipdata 2]”


hwi CloseStack

Errors

None.