Inherits: Net < DesignItem < ScriptObject

A net is a set of items which are electrically connected together.

Properties

NameTypeGet/SetBrief
BreakoutsArray[Connection]Yes/NoThe list of Breakout items in this Net.
ClassVariant[NetClass, none]Yes/YesThe NetClass assigned to the Net.
ConnectionsArray[Connection]Yes/NoThe list of Connection items in this Net.
NamestrYes/NoThe name of the Net.
NodesArray[Node]Yes/NoThe list of Node items in this Net.
TracksArray[Track]Yes/NoThe list of Track items in this Net.
WiresArray[Connection]Yes/NoThe list of Wire items in this Net.

Methods

NameReturnsArguments
AddNodeNodecomponentName : str
pinName : str
AddTrackTrackstart : Point
end : Point
PinCountint

Property Details

Breakouts

Type: Array[Connection]

The list of Breakout items in this Net.


Class

Type: Variant[NetClass, none]

The NetClass assigned to the Net.


Connections

Type: Array[Connection]

The list of Connection items in this Net.


Name

Type: str

The name of the Net.


Nodes

Type: Array[Node]

The list of Node items in this Net.


Tracks

Type: Array[Track]

The list of Track items in this Net.


Wires

Type: Array[Connection]

The list of Wire items in this Net.

Method Details

AddNode

Add an existing node to a net.

Returns Node.

Licences required: Scripting Advanced Features.

Arguments:

  • componentName : str
  • pinName : str

AddTrack

Add a new track to a net.

Returns Track.

Licences required: Scripting Advanced Features.

Arguments:

  • start : Point
  • end : Point

PinCount

Returns the number of component pins on this net.

Returns int.