I have a large layout that will move to another technology. We need to map layers in that layout to other (already defined) layers, such as:
OLD LAYER = "L1" 7/727
NEW LAYER = "LP1" 17/727
We need to reassign old to new, so that we don't have change layers for each of the shapes.
In addition, we need to do this for a large set of OLD->NEW layer pairs.
Doing it by hand (edit>layer>copy layer) is too cumbersome and it leaves shapes in the old layer.
Anyone got a code snippet that could recurse through our set of pairs ?
I guess the safer way would be to recurse through all cells and shapes, and then move them to the
new layer if they belong to the old layer ? we have a fair amount of PCELLs. I am not too familiar
on how to use scripts to change the inner parameters to also adjust pcells.
Any help would be greatly appreciated !