home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.cad.cadence
- Path: sparky!uunet!Cadence.COM!keiths
- From: keiths@Cadence.COM (Keith Sabine)
- Subject: Re: getting all cellviews
- Message-ID: <1993Jan20.174238.12325@Cadence.COM>
- Sender: Keith Sabine
- Organization: Cadence Design Systems, Inc.
- References: <1993Jan12.172646.14372@venus.ic.cmc.ca>
- Date: Wed, 20 Jan 1993 17:42:38 GMT
- Lines: 41
-
- In article <1993Jan12.172646.14372@venus.ic.cmc.ca> pas@jupiter.ic.cmc.ca writes:
- >In Cadence 4.2 skill, how might one go about
- >getting a list of all cells in a library?
- >
- >For example:
- >
- >procedure( showCells (lib "t")
- > prog( ( libId ; library db id
- > cells ; list of cells in libId
- > )
- > libId = dmOpenLib( lib nil nil "r")
- > cells = ??????( libId)
- > println( cells)
- > )
- >)
- >
-
-
- Try:
-
- procedure( showCells( lib "t")
- let( (libId cell)
- libId = dmOpenLib( lib nil nil "r")
- foreach( cell libId~>cells
- println( cell~>name)
- )
- )
- )
-
-
- Keith.
-
- *----------------------------------------------------------------------------*
- * Keith Sabine Phone: (44)-344-360333 *
- * Cadence Design Systems UK Ltd, Fax: (44)-344-360324 *
- * Bagshot Road, Email: keiths@cadence.com *
- * Bracknell, *
- * England RG12 3PH Standard Disclaimer: *
- * 'Ahem, this is my theory, *
- * which is mine, all mine...' *
- *----------------------------------------------------------------------------*
-