Terminal

A port terminal that connects to ports, general networks and transmission lines.

Example

app = cf.GetApplication()
project = app:NewProject()

config = project.SolutionConfigurations[1]

    -- Create a transmission lines
    
transmissionLine = config.Networks:AddTransmissionLine(10, 50, 25, 10)

    -- Add a source to transmission line terminal

config.Sources:AddVoltageSource(transmissionLine.Terminals[1])

Usage locations (object properties)

The following objects have properties using the Terminal object:

Property List

Label
The object label. (Read only string)
Type
The object type string. (Read only string)

Collection List

Wires
The collection of wires connected to this terminal on the schematic view. (PortTerminalWiresCollection of SchematicWire.)

Method List

ConnectTo (terminal Terminal)
Connects this terminal to another terminal on the schematic view.

Property Details

Label
The object label.
Type
string
Access
Read only
Type
The object type string.
Type
string
Access
Read only

Collection Details

Wires
The collection of wires connected to this terminal on the schematic view.
Type
PortTerminalWiresCollection

Method Details

ConnectTo (terminal Terminal)
Connects this terminal to another terminal on the schematic view.
Input Parameters
terminal(Terminal)
The other terminal to connect this terminal to.