Create rotation
- Last UpdatedMar 17, 2025
- 2 minute read
You can make an object move around a center point as the value of an analog tag changes by using orientation links. For example, as pressure increases or decreases, a pointer can move around a dial.
The orientation link uses the center of the object or symbol as the default center of rotation. You can offset the center of rotation.
Orientation links are not supported for Industrial graphics.
Tip: Draw a temporary rectangle from the center of the object to the rotation center point. Now you can read the X and Y offset dimensions in pixels from the W, H boxes in the status bar.
Create an orientation link
-
On the Draw menu, in the Mode group, select Animate.
Alternatively, right-click the object and select Animation Links.
The Animation Links dialog box appears.
-
In the Miscellaneous section, select Orientation.
The Orientation -> Analog Value dialog box appears.

-
In the Expression box, type the name of an analog tag or an expression that equates to an analog value.
-
In the Properties section, do the following:
-
In the Value at Max CCW box, type the value the expression must be for the object to rotate to the maximum counter-clockwise position.
-
In the Value at Max CW box, type the value the expression must be for the object to rotate to its maximum clockwise position.
-
In the CCW Rotation box, type the degrees the object rotates counter-clockwise when the Value at Max CCW is reached.
-
In the CW Rotation box, type the degrees the object rotates clockwise when the Value at Max CW is reached.
-
-
In the Center of Rotation Offset from Object Centerpoint section, do the following:
-
In the X Position box, type the horizontal offset of the rotation centerpoint. Enter the offset in pixels from the centerpoint of the object.
-
In the Y Position box, type the vertical offset of the rotation centerpoint. Enter the offset in pixels from the centerpoint of the object.
-
-
Select OK.