Declared in PowerBus

Declaration

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

Description

Connects two EPS Components in the network with a specific terminal type. This will create a wire between the two components and connect them in the network. The terminals that the components are connected from and to can be specified here in this network.

Parameters

NameDescription
fromNodeThe node to connect from
toNodeThe node to connect to
fromTerminalThe terminal to connect from on the from node
toTerminalThe terminal to connect to on the to node