Declared in PowerBus

Declaration

bool DisconnectTerminals(
    UniverseObject fromNode,
    UniverseObject toNode,
    TerminalType fromTerminal,
    TerminalType toTerminal
);

Description

Disconnects two EPS Components in the network. This is based on the terminals that the wires are connected to, within the network.

Parameters

NameDescription
fromNodeThe EPS Component that the connection be break starts at
toNodeThe EPS Component that the connection to break ended at
fromTerminalThe terminal type of the ‘From’ component
toTerminalThe terminal type of the ‘To’ component