JoinStyle
The JoinStyle property defines the appearance of corners on a shape. As with the other Line properties, you would usually set the JoinStyle on the Line tab of the Polyline Properties window or Text Properties window but you can also animate it if required.
You can animate the JoinStyle so that it is a specific type or 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 |
Miter (corners meet in a point) |
1 |
Bevel (corners are angled to form a curve) |
3 |
Round (corners are rounded to form a curve) |
For example:
IIF( ".1 Bit Digital.AlarmState" = 4, 1, 3 )
This means that when the point named '1 Bit Digital' has an alarm state of 4 (an unacknowledged alarm), the join style is Bevel. When the point has any other alarm state, the join style is round.