Position Animations
There are four position properties that can be animated to make use of the movement feature. This allows a Mimic object to move along a defined path according to the value of an item in the database.
When creating a position animation (also referred to as a movement animation), you need to:
- Display the relevant Mimic in Design mode.
- Right-click on the object that is to be moved by the animation.
A context sensitive menu is displayed. - Select the Define Path option.
- Draw the path line for the Mimic object in the same way as you would draw a line. The path line defines the route that the Mimic object will take as it moves.
- Double-click to end the path definition. The path is shown as a red line.
- Display the Animations window for the Mimic object.
- Animate the position animation properties so that the Mimic object's position is associated with values in the database.
The 4 position animations are:
- PosAnchor
- PosMax
- PosMin
- PosVal
The PosAnchor property defines the anchor position of the object when it is moving along a path. The PosAnchor values are the same as those for the PivotType (see Rotation Animations). For example, if the expression for the animation is 3, the top right part of the object will be on the defined path route.
The PosMax, PosMin, and PosVal properties are used to scale the possible positions and place the Mimic object at the correct position according to a value in the database. Typically, you would associate the PosMax property with the FullScale value of an analog point, the PosMin property with the ZeroScale of the point, and the PosVal property with the CurrentValue of the point.