Type
The Type property defines whether the line/outline is visible. Typically, you would set the Type on the Polyline Properties window and would not animate it. However, you can animate the Type property if required.
You can animate the Type so that it is a specific type or so that it changes according to the value or state of an item in the database. There are only two types of outline, so the numbers you need for the expressions are:
Number for Expression | Style |
---|---|
0 |
None |
1 |
Solid |
For example:
IIF( ".1 Bit Digital.AlarmState" = 4, 1, 0 )
This expression means that if the point named '1 Bit Digital' has an alarm state of 4 (that is, has an unacknowledged uncleared alarm), the type of line is solid (Type 1). If the point has any other alarm state, the line is not shown (the Type is 0 - None).