Segment Object

This object represents a portion of a net or bus on a schematic.

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

Table 1. Segment Object Methods and Properties

Method or Property

Description

GetJointType Method (Segment Object)Returns the type of a specified joint.
IsBus Method (Segment Object)Determines if the segment is a bus.
Location Method (Segment Object)Returns the coordinates of specified joint in the form of a Point Object.
Application Property (Segment Object)Returns the Application Object.
Attributes Property (Segment Object)Returns a collection object that contains all Attribute Objects on this segment, whether they are visible or not.
Parent Property (Segment Object)Returns the parent Net Object of the segment.
Type Property (Segment Object)Returns VDTS_SEGMENT, indicating that the object is, in fact, a segment.