System.Object
Eplan.EplApi.DataModel.EObjects.Terminal.Bridge
System.Object
Eplan.EplApi.DataModel.EObjects.Terminal.Bridge
Terminal term1; // A single-level terminal with some bridge connections existing and connected to it Terminal.Bridge[] arrBridges = term1.Bridges; // For the single-level terminal, if the terminal has any bridge attached, // the array contains 1 element. Terminal.Bridge.BridgeInfo[] arrBridgeSegments = arrBridges[0].BridgeSegments; // The arrBridgeSegments array contains as all bridge segments // of the terminal's first bridge. // All bridge connections are included: // internal, external and 'small' (i.e. jumper bridges, etc.) Terminal other = arrBridgeSegments[0].BridgedTerminal; Connection brCn = arrBridgeSegments[0].Conn; if (other != null && brCn != null) { // The _term1_ terminal is connected with the _other_ terminal through the _brCn_ connection. } Terminal term1of3; // A part of a 3-level terminal. arrBridges = term1of3.Bridges; // If there's a bridge on each level, the array contains 3 elements. arrBridgeSegments = arrBridges[0].BridgeSegments; // All bridge connections (i.e. segments) of the first level arrBridgeSegments = arrBridges[1].BridgeSegments; // All bridge connections of the second level arrBridgeSegments = arrBridges[2].BridgeSegments; // All bridge connections of the third level Terminal level3 = arrBridges[2].Term; other = arrBridges[2].BridgeSegments[0].BridgedTerminal; brCn = arrBridges[2].BridgeSegments[0].Conn; if (other != null && brCn != null) { // The _level3_ terminal - the third level of the multi-level terminal - is connected with the _other_ terminal // through the _brCn_ connection. }
Name | Description | |
---|---|---|
![]() | BridgeSegments | An array of all bridge connections (i.e. segments) that the bridge consists of. |
![]() | Term | One of the terminal connected by the bridge. |
Name | Description | |
---|---|---|
![]() | IsVertical | Returns information whether the bridge is 'vertical', i.e. whether it connects only different levels of the same multi-level terminal. Note: this property is valid only if the bridge object has been obtained through the TerminalStrip.Bridges_Split property of a terminal strip object. Otherwise, this property returns FALSE. |
![]() | Kind | A Terminal.Bridge.Kinds of the bridge (i.e. internal, external or small). |
![]() | Terminals | An array of all terminals that the bridge connects. |
![]() | Type | A type of the bridge. Corresponds to the function definition tag of the bridge's connections. |