Command property:


Synchronous command.



Command action:


Perform a XY angle pattern operation.


Syntax:


<command name="getangle" Offset1X="[Double]" Offset1Y="[Double]" Offset2X="[Double]" Offset2Y="[Double]" Height="[Double]" Width="[Double]" />


Parameters:

Name

Mandatory

Description

Format

Offset1X

Yes

First autopositioning X offset result

Double

Offset1Y

Yes

First autopositioning Y offset result

Double

Offset2X

Yes

Second autopositioning X offset result

Double

Offset2Y

Yes

Second autopositioning X offset result

Double

Height

Yes

Y distance between the first and second patterns

Double

Width

Yes

X distance between the first and second patterns

Double



Reply:


<command valid="true" XOffset="[Double]" YOffset="[Double]" Correlation="[Integer]" Angle="[Double]" />


Angle calc fail:


If the angle calc fails, the system reply with:


<command valid="false" error="Angle failed" />



Command purpose:


This command is used for special application in order to have the skew between two patterns.

Usually the return of this command is used with Mark Layout command to move the layout accordingly the card pre-printing offset.