close all view() windows?

Discussion in 'Cadence' started by danmc, Apr 4, 2005.

  1. danmc

    danmc Guest

    Is there a convenient way to close all windows which have been created
    by view("somefilename")? Sometimes I end up with a bunch of these
    windows and I just want to make them all go away.

    In ocean when I might have a bunch of waveform windows I can kill them
    all at once with this:
    (procedure (myCloseAll) (while (currentWindow) (hiCloseWindow
    (currentWindow) ) ) )

    but 'currentWindow' isn't the right thing for these view() windows.

    Thanks
    -Dan
     
    danmc, Apr 4, 2005
    #1
  2. danmc

    S. Badel Guest

    foreach( wnd setof(x hiGetWindowList() hiGetAppType(x)=="Show File") hiCloseWindow(wnd) )

    stéphane
     
    S. Badel, Apr 4, 2005
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.