File "code.il"
Full Path: /home/analogde/www/SKILL/code.il
File size: 699 bytes
MIME-type: text/plain
Charset: utf-8
=setof(x cv~>shapes x~>pin)
cv = geGetEditCellView()
shapes = setof(shape cv~>shapes shape~>lpp==leGetEntryLayer())
layer="METAL5"
purpose = "drawing"
shapes = setof(shape cv~>shapes shape~>lpp~>layerName==layer && shape~>lpp~>purpose==purpose)
myLPP = setof( lpp cv~>lpps lpp~>layerName == "METAL5")
m1 = setof(x cv~>shapes x~>lpp=='("METAL2" "drawing"))
/// a travers la hérarchie
;cv = geGetEditCellView()
foreach(d_inst d_cv~>instances
d_cv = dbOpenCellViewByType(d_inst~>libName
d_inst~>cellName d_inst~>viewName nil "a")
dbCreateRect(d_cv list("M4" "D0") list(0:0
5:5))
dbSave(d_cv)
dbCopyFig