Inherits: Track < Connection < CommonShape < DesignItem < ScriptObject

A track is a physical copper connection on a Net on a PCB design.

Methods

NameReturnsArguments
AddArcTrackSegmentcentre : Point
end : Point
antiClockwise : bool
AddLineTrackSegmentend : Point
Beginnonestart : Point

Method Details

AddArc

Add a curved track segment at the end of the track.

Returns TrackSegment.

Licences required: Scripting Advanced Features.

Arguments:

  • centre : Point - Centre position of the arc.
  • end : Point - End of the arc.
  • antiClockwise : bool - Whether the arc should be constructed clockwise or anticlockwise.

AddLine

Add a straight line segment starting at the end of the track.

Returns TrackSegment.

Licences required: Scripting Advanced Features.

Arguments:

  • end : Point

Begin

Create the start point of an empty track.

Licences required: Scripting Advanced Features.

Arguments:

  • start : Point