• 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. General window name/ID for Layout and Schematic Windows...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 144
  • Views 3005
  • 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

General window name/ID for Layout and Schematic Windows to use "hiResizeWindow" function?

Lyrical
Lyrical over 2 years ago

Hi, 

I was wondering if there is a general window name/ID for all layout and all schematic windows in Virtuoso? My intent is to have a bindkey to reposition/resize currently open layout/schematic windows depending on if I am working at home or in the office, since my monitor set ups are different at each location. 

I know I can do this with the CIW using something like hiResizeWindow(hiGetCIWindow() list(0:0 1400:350)). Is there a "hiGetCIWindow()" equivielent for schematics/layout/lib manager/LSW? 

I also know that each layout/schematic window has a unique window ID number, but this I imagine changes every time. If there is no name, is there an easy procedure to check current open windows for schematics and layouts, and then reposition them based on type of window (layout or schematic)? 

Thank you!

  • Cancel
  • mbracht
    mbracht over 2 years ago

    Hi,

    You can easily get the view type for a given window id...the below "foreach mapcar" loop returns a mapping of window id's to the respective cell view type:

    (foreach mapcar wid (setof wid (hiGetWindowList) wid!=(window 1)) (list wid (geGetWindowCellView wid)->cellViewType))

    Max

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Lyrical
    Lyrical over 2 years ago in reply to mbracht

    Hi Max.

    Thank you for your help and input. Using your code,how would I use the cellViewType to be able to reposition each layout/schematic window? Thanks again

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mbracht
    mbracht over 2 years ago in reply to Lyrical

    Well it depends from exactly how you want to resize them. Your original question was how to determine whether a window is a layout window. Essentially you need to iterate over all layout windows and then you may resize them to your hearts content:

    (foreach wid (setof wid (hiGetWindowList) wid!=(window 1))
         (when (geGetWindowCellView wid)->cellViewType=="maskLayout"
              (hiResizeWindow wid (list ?:? ?:?))
         )
    )

    Max

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Lyrical
    Lyrical over 2 years ago in reply to mbracht

    Thank you Max! This works great for what I was looking for. I appreciate your time and 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