Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

dbCreateTrackPattern

dbCreateTrackPattern(
d_cellviewId
g_isHorizontal
n_startCoord
x_numTracks
n_trackSpace
[ tx_layer ]
)
=> d_trackPatternId / nil

Description

Creates a track pattern in the specified cellview.
To color the track pattern, use dbSetTrackPatternFirstTrackColor or dbSetTrackPatternColorAlternating.

Arguments

d_cellviewId

The database ID of the cellview.

g_isHorizontal

Specifies a horizontal or vertical track pattern.
Valid values:
t: track pattern is horizontal.
nil: track pattern is vertical.

n_startCoord

Specifies the start coordinate of the track pattern.

x_numTracks

Specifies the number of track lines of the track pattern.

n_trackSpace

Specifies the tracking space between two track lines.

tx_layer

Optional argument that specifies routing layer of the track pattern.

Value Returned

d_TrackPatternId

The database ID of the track pattern if the creation is successful.

nil

nil is returned if the cellview ID is invalid or one of the given arguments is invalid.

Related Topics

Track Pattern Functions


Return to top
 ⠀
X