• 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. leZoomToSelSet doesn't work when opening a schematic

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 1712
  • 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

leZoomToSelSet doesn't work when opening a schematic

strotta
strotta over 5 years ago

Hi guys, I will really appreciate if someone give me a hand.

I have this simple test but I don't know why is not working as expected

        myCell = deOpenCellView(projName cellToOpen "schematic" "" hiGetSessionWindow(hiGetCurrentWindow()) "r")

        myInst=setof(x myCell~>cellView~>instances x~>cellName=="patternName")

        mapcar('geSelectFig myInst)

        leZoomToSelSet()

The idea is to open a schematic(cellToOpen) and find all the instances that match with "patternName". After that, I would like to zoom-in on the instance that was found (if it was just one).

If I run the code line by line it seems to work but I don't know why not when I run it in a row. It seems there is an automatic zoom-to-fit after leZoomToSelSet() call..not sure

Thanks!

  • Cancel
Parents
  • mbracht
    mbracht over 5 years ago

    Hi,

    Just to be sure what you do - you have the cell projName/cellToOpen opened in a graphic window already (for example a layout editor) haven't you?
    I'am also not sure what you mean by "when I run it in a row" - are you saying you copy and paste the entire code  into the CIW or load it in terms of a load() statement. For me it works in both ways.
    I also don't understand why you use a layout function (leZoomToSelect) while you are in a schematic editor. You should use schHiZoomToSelSet() instead.

    Max

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • strotta
    strotta over 5 years ago in reply to mbracht
    mbracht said:

    you have the cell projName/cellToOpen opened in a graphic window already (for example a layout editor) haven't you?

    No, that's reason why I'm using deOpenCellView. However, if I do this (window already open):

    myCell = geGetEditCellView()

    myInst=setof(x myCell~>instances x~>cellName=="patterName")

    mapcar('geSelectFig myInst)

    leZoomToSelSet()    ;or schHiZoomToSelSet() 

    code works fine. there is something wrong related to opening a new window.

    mbracht said:

    I'am also not sure what you mean by "when I run it in a row" - are you saying you copy and paste the entire code  into the CIW or load it in terms of a load() statement.

    yes

    I also tried with schHiZoomToSelSet() but it didn't work

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • strotta
    strotta over 5 years ago in reply to mbracht
    mbracht said:

    you have the cell projName/cellToOpen opened in a graphic window already (for example a layout editor) haven't you?

    No, that's reason why I'm using deOpenCellView. However, if I do this (window already open):

    myCell = geGetEditCellView()

    myInst=setof(x myCell~>instances x~>cellName=="patterName")

    mapcar('geSelectFig myInst)

    leZoomToSelSet()    ;or schHiZoomToSelSet() 

    code works fine. there is something wrong related to opening a new window.

    mbracht said:

    I'am also not sure what you mean by "when I run it in a row" - are you saying you copy and paste the entire code  into the CIW or load it in terms of a load() statement.

    yes

    I also tried with schHiZoomToSelSet() but it didn't work

    • 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