• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. How to select instances/figures from a schematic opened...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 144
  • Views 4003
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to select instances/figures from a schematic opened in the background?

UmangKrSinha
UmangKrSinha over 7 years ago

Hi Skill experts,

Can someone suggest a way to select instances/figures from a schematic I opened using dbOpenCellViewByType() function?

I want my skill script to create a new schematic, use some other schematic and copy figures from there into the new one for editing.

I have searched the forum but couldn't find an answer to this specific problem.

I am a real rookie so If there is any better method to do this can you please suggest it?

Thank you

  • Cancel
  • mbracht
    mbracht over 7 years ago

    What exactly do you mean with 'Select' - 'select' normally refers to clicking on a figure (which is not necessarily an instance - could also be a shape or via for example) in a graphic environment and in such add it to the so called selected set. That requires your design to be opened in a schematic editor however and dbOpenCellViewByType(..) doesn't open a design editor - it just returns a cellview data object. Now with that cellview data object you can get at the instances with
    cv~>instances

    As I said there are other figures (a figure is everything you can "select" in a graphic design editor) like vias, shapes and more..everyone has their corresponding database attribute to access it
    cv~>shapes
    cv~>vias
    cv~>markers
    etc...

    To open a cellview graphically you have to you the geOpen(..) function.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • fungibleChattel
    fungibleChattel over 7 years ago

    Generally, in SKILL programming, the GUI functions are not very useful. There is usually a SKILL analog for them however. Once you have the cvID from dbOpenCellViewByType, you can cycle through the objects as mbracht has suggested and then use the proper SKILL function to operate on them. For Copying, for example, you can use dbCopyFig to copy from one cellview to the other. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • UmangKrSinha
    UmangKrSinha over 7 years ago in reply to mbracht

    Thanks mbracht for your answer

    By "select" I meant selecting any type of figure (what clicking on a figure in a schematic view does, as you said)

    I will try using attributes to access the different figures, this is closest to what I want to do

    If this approach does not work however then I will have to resort to geOpen()

    Thanks again

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information