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
Value Returned
|
Returns |
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