dbRemoveLayerColorData
dbRemoveLayerColorData(
d_cellViewId
t_layerName
g_locked
[ g_via g_hcl g_instColorShift g_blockage g_trackPattern ]
)
=> t / nil
Description
Removes the color data from the specified layer in the given cellview. By default, all color data is removed. You can optionally preserve the via color data, hierarchical color locks, layer shift information, blockage color data, and track pattern color data.
Arguments
|
d_cellViewId
|
ID of the cellview.
|
|
t_layerName
|
Name of the layer.
|
|
g_locked
|
If t, removes the layer color data regardless of the locked color state.
If nil, the locked shapes and vias on that layer are not affected.
|
|
g_via
|
(Default) If t, removes the via color data.
If nil, the via color data is not affected.
|
|
g_hcl
|
(Default) If t, removes the hierarchical color locks.
If nil, the hierarchical color locks are not affected.
|
|
g_instColorShift
|
(Default) If t, removes the layer shift information for the cellview.
If nil, the layer shift information for the cellview is not affected.
|
|
g_blockage
|
(Default) If t, removes the blockage color data.
If nil, the blockage color data is not affected.
|
|
g_trackPattern
|
(Default) If t, removes the track pattern color data.
If nil, the track pattern color data is not affected.
|
Value Returned
|
t
|
Returns t if the color data is successfully removed.
|
|
nil
|
Returns nil in case of a failure.
|
Example
Removes all the color data from the M1 layer of the cv cellview.
dbRemoveLayerColorData( cv "M1" t )
> t
Removes all the color data from the M1 layer of the cv cellview, except the track pattern color data.
dbRemoveLayerColorData( cv "M1" t t t t t nil )
Return to top