EDAboard.com | EDAboard.eu | EDAboard.de | EDAboard.co.uk | RTV forum PL | NewsGroups PL

SKILL script to convert rectangular metal layers to path

Ask a question - edaboard.com

elektroda.net NewsGroups Forum Index - Cadence - SKILL script to convert rectangular metal layers to path

techsan
Guest

Wed Nov 23, 2011 10:19 am   



Hi guys...kindly help me with this..

I need a SKILL script to convert rectangular metal layers to path
across the layout block but condtion is that it

should not lose its existing netname after conversion.




mail: sandeep.v99_at_gmail.com

thx,
Sandeep

I-F AB
Guest

Fri Nov 25, 2011 9:01 am   



Hi,

I don't have time for a complete solution but below is a script just
to create
path shapes in Virtuoso based on rectangular shapes.
I haven't found the command to remove shapes since I don't have time.
Also haven't had time to try net property creation.

Layer has to be specified beforehand.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;; specify layer first
LYR = "MET1"

CV = geGetEditCellView()
Rects = setof(x CV~>shapes x~>objType=="rect")

foreach( y Rects

;;;;;;;;;;;;;;;; get net property of 'y' here
;;;;;;;;;;;;;;;; maybe use 'NET = y~>net'

MIDY = 0.5*(topEdge(y)+bottomEdge(y))
W = topEdge(y)-bottomEdge(y)
PATH = dbCreatePath(CV LYR list( leftEdge(y):MIDY
rightEdge(y):MIDY ) W)

;;;;;;;;;;;;;;;;; set net of 'PATH' here
;;;;;;;;;;;;;;;; maybe use 'PATH~>net = y~>net'

;;;;;;;;;;;;;;;; delete 'y' object here
;;;;;;;;;;;;;;;; ???

) ;end foreach loop
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



Best Regards,
I-FAB

elektroda.net NewsGroups Forum Index - Cadence - SKILL script to convert rectangular metal layers to path

Ask a question - edaboard.com

Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
RTV map EDAboard.com map News map EDAboard.eu map EDAboard.de map EDAboard.co.uk map Opony