Size Animations
There are 4 size properties that you can animate so that an object increases or decreases in size according to the value of an item in the database. This is useful for adding bar graphs to Mimics.
The size properties are:
- SizeDir—This property defines the direction of the size change. The directions and the numbers that represent them in the expressions are:
Number for Expression | Size Direction |
---|---|
0 |
None |
1 |
Vertical down |
2 |
Vertical center |
3 |
Vertical up |
4 |
Horizontal left to right |
5 |
Horizontal left to right and vertical down |
6 |
Horizontal left to right and vertical center |
7 |
Horizontal left to right and vertical up |
8 |
Horizontal center |
9 |
Horizontal center and vertical down |
10 |
Horizontal center and vertical center |
11 |
Horizontal center and vertical up |
12 |
Horizontal right to left |
13 |
Horizontal right to left and vertical down |
14 |
Horizontal right to left and vertical center |
15 |
Horizontal right to left and vertical up |
- SizeMax—This property defines the maximum size of the Mimic object. Typically, this is associated with the FullScale property of an analog point.
- SizeMin—This property defines the minimum size of the Mimic item. Typically, this is associated with the ZeroScale property of an analog point.
- SizeVal—This property defines the current size of the Mimic object and needs to be associated with a value or state for an item in the database, for example, the CurrentValue of a point.