dbSetViaLayer1Control
dbSetViaLayer1Control(
d_viaId
t_colorControl
)
=> t / nil
Description
Sets the color control for layer1 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
;Example 1
dbSetViaLayer1Control( via "shift2" )
=> t
dbSetViaColorStateLocked( via t )
=> t
dbSetViaLayer1Control( via "shift1" )
=> nil
; Returns an error / nil because the color state is locked
Return to top