Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Computer Aided Design - CAD > Cadence > Re: skill for c...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 3955 of 4210
Post > Topic >>

Re: skill for creating slot in a existing polygon/wide metal

by Riad KACED <riad.kaced@[EMAIL PROTECTED] > Apr 17, 2008 at 04:49 PM

Hi Mengay,

Welcome to skill ;-)
The best thing for a beginner is to put hands on and sink your head
into the Cadence Do***entation. 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 ****nctions 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.
 




 4 Posts in Topic:
skill for creating slot in a existing polygon/wide metal
"mengay" <at  2008-04-16 21:15:56 
Re: skill for creating slot in a existing polygon/wide metal
Riad KACED <riad.kaced  2008-04-17 16:49:29 
Re: skill for creating slot in a existing polygon/wide metal
"mengay" <at  2008-04-17 19:53:25 
Re: skill for creating slot in a existing polygon/wide metal
Andrew Beckett <andrew  2008-04-30 11:11:52 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 23:50:47 CDT 2008.