LineStyle

The LineStyle property defines the type of line that is used as the outline of a shape or a line. As with the other Line properties, you would usually set the LineStyle on the Line tab of the Polyline Properties window, but you can also animate it if required.

You can animate the LineStyle so that it is a specific type or animate it so that it changes according to the value or state of an item in the database. The numbers you need for the expressions are:

Number for Expression Style

0

Solid

1

Thin/Thin

2

Thin/Thick

3

Thin/Thick

4

Thin/Thick/Thin

For example:

IIF( ".1 Bit Digital.CurrentState" = 1, 4, 1 )

This expression means that when the point named '1 Bit Digital' is in state 1, the line style is Thin/Thick/Thin (LineStyle 4) and when the point is in any other state the line style is Thin/Thin (LineStyle 1).


Disclaimer

Geo SCADA Expert 2022