Inherits: Net < DesignItem < ScriptObject
A net is a set of items which are electrically connected together.
Properties
| Name | Type | Get/Set | Brief |
|---|---|---|---|
| Breakouts | Array[Connection] | Yes/No | The list of Breakout items in this Net. |
| Class | Variant[NetClass, none] | Yes/Yes | The NetClass assigned to the Net. |
| Connections | Array[Connection] | Yes/No | The list of Connection items in this Net. |
| Name | str | Yes/No | The name of the Net. |
| Nodes | Array[Node] | Yes/No | The list of Node items in this Net. |
| Tracks | Array[Track] | Yes/No | The list of Track items in this Net. |
| Wires | Array[Connection] | Yes/No | The list of Wire items in this Net. |
Methods
| Name | Returns | Arguments |
|---|---|---|
| AddNode | Node | componentName : strpinName : str |
| AddTrack | Track | start : Pointend : Point |
| PinCount | int |
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:strpinName:str
AddTrack
Add a new track to a net.
Returns Track.
Licences required: Scripting Advanced Features.
Arguments:
start:Pointend:Point
PinCount
Returns the number of component pins on this net.
Returns int.