• 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. Error using leSearchHierarchy()

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 144
  • Views 15651
  • 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

Error using leSearchHierarchy()

LeJonT
LeJonT over 15 years ago

Hi,

I am trying to use leSearchHierarchy() function to list all labels in a layout. Code below:

cellView = dbOpenCellViewByType( libName topCellName "layout" )
labelsInLayout = leSearchHierarchy( cellView cellView~>bBox 32 "label" list( ) )

But, instead of all labels hierarchically, it is listing the labels in Top View only.

Strange thing is, if I open the Top Layout using the editor and run the code again, it is listing all the lables in all levels. Same way, it is lisiting all the layers once the layout is closed too.

What can be the possible reason for this strange behaviour? Am I missing something? (I am using ic5.1.41)

 

-Thanks and Regards,

Leo 

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 15 years ago
    Call dbOpenHier(cellView 32) first to ensure the hierarchy is opened. When you're opening in the layout editor, it's probably opening it to full depth.

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 15 years ago
    Call dbOpenHier(cellView 32) first to ensure the hierarchy is opened. When you're opening in the layout editor, it's probably opening it to full depth.

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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