• 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. Function that returns a string value for the current cell...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 17048
  • 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

Function that returns a string value for the current cell view

jaleco
jaleco over 12 years ago

Is there a function similar to geGetEditCellView() that will return the string value of the current cell view, as opposed to its database ID number?

For example, I have a layout view open called "MyLayout".  If I use dbFullPath(), it will give me the full path to "...MyLibrary/MyLayout/layout/layout.cdb", but I only want the string "MyLayout" returned.

Sorry if this seems remedial.  I am having no luck finding such a function....

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    geGetEditCellView()~>viewName

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • jaleco
    jaleco over 12 years ago

    Thanks Andrew,

    that was close enough for me to figure it out:

    geGetEditCellView()->cellName

    returns the file name.

    geGetEditCellView()->viewName

    returns the string "layout"

    most appreciated.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

     Sorry, I misread your question. BTW, it's not the "file" name. It's the cell name. They are not necessarily the same thing... (if there are unusual characters in the cell name)

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • jaleco
    jaleco over 12 years ago

    No problem, I appreciate your help.

    • 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