poIImagePlane RemoveAlignmentPoint
Removes an alignment point from an image plane.
Syntax
Imageplane_handle RemoveAlignmentPointidx
Application
HyperView Tcl Modify
Description
This command removes an alignment point from an image plane.
Inputs
- idx
- The index of the alignment point to be deleted. Index starts at 0.
Example
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
# Remove alignment point 2 (index is 1)
imageplane_handle RemoveAlignmentPoint 1
puts “Alignment point count is [imageplane_handle GetNumAlignmentPoints]”
hwi CloseStack
Errors
None.