Connections Method (Net Object)

Scope: Schematic editor

Object: Net Object

Prerequisites: None

Returns a collection of Connection Objects. Use this collection to access component pin, net and segment objects.

Usage

Net.Connections([ByVal PinNameFilter As Variant]) As IVdObjs

Arguments

PinNameFilter

(Optional) This is a component filter string that may contain the wildcard character (*).

Return Values

As IVdObjs. A collection of ComponentPin Objects, a Net Objects, and a Segment Objects that, together, comprise the connections for the net.

Description

This method provides a way to traverse all the connections of the net. A connection consists of a ComponentPin Object, a Net Object, and a Segment Object.

See Connection Object for more information.

Examples

Traverse all connections.

For Each Conn In Net.Connections 
    ... 
Next
 

Traverse all clock connections.

For Each ClkConnection In Net.Connections("CLOCK*") 
    ... 
Next