skill for creating slot in a existing polygon/wide metal

M

mengay

Guest
Hi, hope anyone can help me here. I am new into this SKILL programming.
Your help is greatly appreciated. These is what i want to do.

-Find rectangles/wide metals exceeding a certain area
-check the area/if they exceeds the maximum
-create metal slot.
- i want to have a pop menu to toggle all the desired width and
length/spaces of metal.

Anyone can help?

thanks.


--
Message posted using http://www.talkaboutcad.com/group/comp.cad.cadence/
More information at http://www.talkaboutcad.com/faq.html
 
thanks Riad..

--
Message posted using http://www.talkaboutcad.com/group/comp.cad.cadence/
More information at http://www.talkaboutcad.com/faq.html
 
Hi Mengay,

Welcome to skill ;-)
The best thing for a beginner is to put hands on and sink your head
into the Cadence Documentation. I think it is worth having a glance
at :

1. The Skill User Guide: $CDSHOME/doc/sklangref/sklangref.pdf
2. The Skill reference Manual: $CDSHOME/doc/sklanguser/sklanguser.pdf
3. The User interface Manual: $CDSHOME/doc/skuiref/skuiref.pdf
4. Custom Layout SKILL Functions Reference: $CDSHOME/doc/sklayoutref/
sklayoutref.pdf

The main function that helps in cutting shapes is "leChopShape" or
"leHiChop" in interactive mode (Doc 4). Do note that "le" prefixed
skill fucnctions could not be used in a pcell code. That's it !!

So I would advice to : Open your cellView, select your shapes, do the
calculation to determine the length/area and stuff ... and then call
leChopShape. Something like :
cv = dbOpenCellViewByType("libName" "cellName" "layout" nil "a" )
when(cv
foreach( shape cv~>shapes
; Do whatever you want to do
leChopShape(
d_shapeId
l_points
g_closed
[ g_remove ]
[ x_sides ]
)
; Do whatever you want to do
)
)
Give a look to this :
http://groups.google.com/group/comp.cad.cadence/browse_thread/thread/8b11076db3fb7910/

For your pullDown Menu, look at doc 3. Loads of examples are given
there !! : This is one of them

;;; Creating a new window to be used as the current window
hiOpenWindow()
;;; creating the "Raise Current Window" menu item
trRaiseCurrentWindow = hiCreateMenuItem(
?name 'trRaiseCurrentWindow
?itemText "Raise Current Window"
?callback "hiRaiseWindow( hiGetCurrentWindow() )"
)
;;; creating the Navigation pulldown menu
hiCreatePulldownMenu(
'trPulldownMenu ;;; menu handle
"Navigation" ;;; menu title
list( trRaiseCurrentWindow)
"" ;;; empty help string
) ; hiCreatePulldownMenu
;;; inserting the pulldown menu in the CIW
hiInsertBannerMenu(
window( 1 )
trPulldownMenu
0
)

Enjoy !!

Riad.
 
mengay wrote, on 04/18/08 01:53:
thanks Riad..

--
Message posted using http://www.talkaboutcad.com/group/comp.cad.cadence/
More information at http://www.talkaboutcad.com/faq.html
Generally speaking people use physical verification tools to do this kind of
layer processing, because they're good at handling the volumes of data.

Just a thought...

Andrew.
 

Welcome to EDABoard.com

Sponsor

Back
Top