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

dbSetViaLayer2Control

dbSetViaLayer2Control(
d_viaId
t_colorControl
)
=> t / nil

Description

Sets the color control for layer2 shapes of the via master.

It is an error to assign color control to the layer without allowed colored masks or if via color state is locked.

Arguments

d_viaId

Specifies the via ID

t_colorControl

Specifies the string representing color control to be assigned to the layer1 shapes of the via master.

Valid values: noColor, noShift, shift1, and so on, up to shiftx, where x is an integer equal to (number of masks for the via layer - 1). For example, the valid values for a 3-mask via layer are: noColor, noShift, shift1, and shift2.

Value Returned

t

Returns t if the color controls are successfully set

nil

Returns nil if the color controls are not set or an error occurs during execution

Example

Returns an error / nil because the color state is locked.

dbSetViaLayer2Control( via "shift2" )
=> t
dbSetViaColorStateLocked( via t )
=> t
dbSetViaLayer2Control( via "shift1" ) 
=> nil 

Return to top
 ⠀
X