Net Object

This object represents a net or bus on a schematic.

The following table lists methods and properties of the Line object with links to the respective reference pages.

Table 1. Net Object Methods and Properties

Method or Property

Description

AddAttribute Method (Net Object)Adds an Attribute Object to the net on the specified segment at the coordinates passed.
AddLabel Method (Net Object)Adds a Label Object to the net.
Connections Method (Net Object)Returns a collection of Connection Objects. Use this collection to access component pin, net and segment objects.
FindAttribute Method (Net Object)Locates the attribute specified by the passed argument.
GetConnectedLabel Method (Net Object)Gets the net label for the specified Segment Object, or any connected segments. This method is useful for identifying segments in a bus net.
GetConnectedNetName Method (Net Object)Gets the net label for the specified Segment Object, or any connected segments. This method is useful to identify segments in a bus.
GetLabel Method (Net Object)Gets the net label on the specified Segment Object.
GetObjectColor Method (Net Object)Gets the color in which the net is drawn.
GetRippers Method (Net Object)Returns the collection of rippers that are connected to a bus.
GetSegments Method (Net Object)Returns a collection of the segments that make up a net.
GetSignals Method (Net Object)Returns a list of constituent bus signals.
GetSingleJointLocs Method (Net Object)Returns an encoded string of the coordinates of all single joints (dangle boxes).
IsColorAutomatic Method (Net Object)Determines if the net has an automatic color set for it.
IsSegmentSelected Method (Net Object)Determines if a net segment is selected.
SelectSegment Method (Net Object)Selects the specified Segment Object.
SelectSegmentByJointLoc Method (Net Object)Selects a Segment Object based on the location and type of the lower joint in the segment.
SetAutomaticColor Method (Net Object)Sets or unsets the color of a net object as the automatic color for nets.
SetObjectColor Method (Net Object)Sets the color in which the net is drawn.
Application Property (Net Object)Returns the Application Object.
Attributes Property (Net Object)Returns a collection object which contains all attributes on this net whether they are visible or not.
Id Property (Net Object)Returns a unique identifying integer for the net.
LineStyle Property (Net Object)Returns or sets the line style for the net.
Parent Property (Net Object)Returns the parent Block Object in which this net was created.
Selected Property (Net Object)Sets the selection status for the net.
Type Property (Net Object)Returns VDTS_NET, indicating that the object is, in fact, a net.
UID Property (Net Object)Returns a Unique Identifying String (UID) for the net.