dbSetViaLayerControl
dbSetViaLayerControl(d_dbViaId t_dbViaLayerType t_colorControl) => t/ nil
Description
Sets the color control for the specified layer in the given via.
Arguments
Value Returned
|
Color controls for the specified layer in the given via are successfully changed. |
|
Example
In this example, the following color controls are assigned to the specified layers in the via via1t_m2_m1:
-
Color control
shift2to the layerlayer2. -
Color control
shift1to the layerlayer1. -
Color control
shift1to the layercutLayer.
cv = dbOpenCellViewByType("tech" "design" "layout" "maskLayout" "w")
viaDef_M2_M1 = techFindViaDefByName(tf "M2_M1")
via1t_m2_m1 = dbCreateVia(cv viaDef_M2_M1 10:10 "R0")
dbSetViaLayerControl(via1t_m2_m1 "layer2" "shift2")
=> t
dbSetViaLayerControl(via1t_m2_m1 "layer1" "shift1")
=> t
dbSetViaLayerControl(via1t_m2_m1 "cutLayer" "shift1")
=> t
Return to top