To model a turn penalty for all possible turns, it is not necessary to create a turn feature for every pair of adjacent edges in the network dataset. Global turn penalties can be modeled by specifying the Default Turn evaluator on a network attribute to be either the Global Turn Delay evaluator or the VB Script evaluator.
See the Related Information section below for more information about the Global Turn Delay evaluator. The Global Turn Delay evaluator is only available in version 9.3 or later.
For users of version 9.3 or later, it is strongly recommended to use the Global Turn Delay evaluator instead of the VB Script evaluator. The Global Turn Delay evaluator runs much faster than the VB Script evaluator.
turnTime = 0
a = Turn.Angle
If a > 210 And a < 330 Then
turnTime = 0.25
Turn.Angle is measured in degrees clockwise from straight ahead.
For more information on the usage of Turn.Angle, see the link for INetworkTurn.Angle Property in the Related Information section below.
Since this network attribute has its Units set to Minutes, the attribute value must be specified in minutes (0.25 minutes = 15 seconds).
Get help from ArcGIS experts
Download the Esri Support App