GetJointLocs Method (View Object)

Scope: Schematic editor

Object: View Object

Prerequisites: None

Returns a string that contains the X,Y locations of the joints specified.

Note:

All coordinates are measured in 100ths of an inch.

Note:

Labels and attributes are assigned to segments, not to nets.

Usage

View.GetJointLocs(ByVal AllOrSelected As VdAllOrSelected, ByVal JointType As VdJointType) As String

Arguments

AllOrSelected

Nets are constructed from segments. A segment is normally uniquely specified by its end points. This argument specifies whether to consider the selected nets or only those specified. This is of the form VdAllOrSelected Enum.

JointType

Returns joints of the specifies types only. This is of the form VdJointType Enum.

Return Values

As String. A string containing the coordinates for the joints specified.

Description

This method returns a string containing the X,Y locations of all the joints specified. These values are in the order X Y X Y X Y ... and the values are space delimited. This method can be very useful for selecting a specific segment to attach a label or attribute.