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

dbSetViaColorStateLayerLocked

dbSetViaColorStateLayerLocked(
d_dbViaId
t_dbViaLayerType
g_setLocked
)
=> t / nil

Description

Locks and unlocks the color state for individual layers in a via.

Arguments

d_dbViaId

Database ID of a via.

t_dbViaLayerType

Name of a valid via layer type.

Valid values: layer1, layer2, cutLayer

g_setLocked

Specifies the lock state for the specified layer: t locks the layer, nil unlocks the layer

Value Returned

t

Color state for the specified layer in the given via is changed.

nil

The operation failed.

Example

Color state for the layer layer1 in the via via1t_m2_m1 is changed to locked.

dbSetViaColorStateLayerLocked(via1t_m2_m1 "layer1" t) => t
dbIsViaColorStateLayerLocked(via1t_m2_m1 "layer1") =>  t
dbIsViaColorStateLocked(via1t_m2_m1) => t

Return to top
 ⠀
X