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

dbSetViaCutLayerControl

dbSetViaCutLayerControl(
d_viaId
t_colorControl
)
=> t / nil

Description

Sets the color control for the cut layer 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 cut layer 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 is the color control is successfully set

nil

Returns nil is the color control is not set or an error occurs during execution

Example

Returns nil because the color state is locked.

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

Return to top
 ⠀
X