ISIAPILaneExits Interface¶
Namespace: SIDRASolutions.SI.API
Assembly: SIDRASolutions.SI.API.dll
COM CLSID: 84511E1A-C253-4CE4-B173-52633F23A593
Declaration¶
Get an instance¶
Properties¶
Count¶
Type int
Code samples
this[]¶
Type ISIAPILaneExit
Code samples
Methods¶
LaneExitExists(int)¶
Parameters
| Name | Type | Description |
|---|---|---|
laneno |
int |
Exit Lane Number, a one-based integer, counts Exit Lanes only from left to right looking in the direction of departure. |
Returns bool
Code samples
AddLane()¶
Add an Exit Lane
If the Leg has Exit Lane(s), if driving-on-left, the rightmost (looking in the direction of departure) Exit Lane is cloned. The cloned Lane is added to the right.
If driving-on-right, the leftmost Exit Lane is cloned. The cloned Lane is added to the left.
If the Leg does not have any Exit Lane, a new default Exit Lane is added.
Returns ISIAPILaneExit - The new added Exit Lane
Remarks
Call SIAPISite.ResetLaneMovements() manually after adding / removing Lanes. If Leg(s) has been added or removed, call SIAPISite.UpdateGeometryData() instead of ResetLaneMovements().
Code samples
RemoveLane()¶
Remove an Exit Lane
If driving-on-left, the rightmost (looking in the direction of departure) Exit Lane is removed. If driving-on-right, the leftmost Exit Lane is removed.
Remarks
Call SIAPISite.ResetLaneMovements() manually after adding / removing Lanes. If Leg(s) has been added or removed, call SIAPISite.UpdateGeometryData() instead of ResetLaneMovements().