dbGetViaLayerControl
dbGetViaLayerControl(d_dbViaId t_dbViaLayerType) =>t_colorControl/ nil
Description
Returns the color control assigned to the specified layer in the given via.
Arguments
Value Returned
|
Returns the color control assigned to the specified layer in the given via.
Valid values: |
|
Example
Color control shift2 is set on the layer layer2 in the via via1t_m2_m1.
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")
Returns color control forlayer2in the viavia1t_m2_m1asshift2, using the functiondbGetViaLayer2Control.
dbSetViaLayerControl(via1t_m2_m1 "layer2" "shift2")
=> t
dbGetViaLayer2Control( via1t_m2_m1 )
=> "shift2"
Returns color control for layer2 in the via via1t_m2_m1 as shift2, using the function dbGetViaLayerControl by specifying the name of the layer as one of the arguments.
dbGetViaLayerControl( via1t_m2_m1 "layer2")
=> "shift2"
Return to top