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

dbSetTrackPatternFirstTrackColor

dbSetTrackPatternFirstTrackColor(
d_trackPatternId
t_maskColor
)
=> t / nil

Description

Assigns a color to the first track of the specified track pattern.

It is an error to assign color to the first track of the track pattern that cannot be colored.

Arguments

d_trackPatternId

Specifies the track pattern ID

t_maskColor

Specifies a string representing color to be assigned to the first track of the specified track pattern. Possible values are "grayColor", "mask1Color", "mask2Color", "mask3Color"

Value Returned

t

Returns t if the color is successfully assigned to the first track

nil

Returns nil if the color is not assigned to the first track or an error occurs during execution

Example

dbSetTrackPatternFirstTrackColor( trackPatternWithoutTrackLayer "mask1Color" ) => nil
dbSetTrackPatternFirstTrackColor( trackPattern "mask1Color" ) => t
dbGetTrackPatternFirstTrackColor( trackPattern ) => "mask1Color" 


Return to top
 ⠀
X