Cadence windows' positions - at startup..

Discussion in 'Cadence' started by Manju Arasaiah, Apr 21, 2004.

  1. Hi,

    I am trying to figureout how to prearrange the
    CIW, Library Browser, LSW windows when they
    startup.

    Any help is appreciated.

    thanks, Manju
     
    Manju Arasaiah, Apr 21, 2004
    #1
  2. Manju Arasaiah

    John Gianni Guest

    I'm not sure, but try this, for starters, taken from my .cdsinit file:
    ; Resize CIW window & bring up the Library Manager:
    hiFlush()
    hiResizeWindow(window(1) list(3:3 750:180))
    ddsOpenLibManager()

    Offhand, I think (but I did not check) the library manager
    (Java) may be resized with the .Xdefaults setup, e.g.,
    from from an old file on my system, I see commented out:
    cdsLibManager.x: 0
    cdsLibManager.y: 82
    cdsLibManager.width: 608
    cdsLibManager.height: 469
    cdsLibManager*listsTopForm.height: 315
    cdsLibManager*messageFrame.height: 108

    Also, I think (but did not check) you can possibly set up your windows;
    then save the positions, I forget exactly how and I'm on a Windows PC
    right now ... I think it's either (CIW: Option->Save Session or
    Utilities -> Save Session); either way, save to a file (cdsSession.save);
    close the DFII session; then re-invoke DFII with the restore option
    (icfb -restore cdsSession.save) or load the session file in .cdsinit.

    An old cdsSession.save file I see on my system is, for example:
    hiStoreFormLocation( 'hiiGraphicsWindowIcon -99999:-99999 )
    hiStoreFormLocation( 'hiSetFilterForm 270:368 )
    hiStoreFormLocation( 'hiSaveForRestoreForm 270:400 )
    hiStoreFormLocation( 'dmbLibPathForm 220:400 )
    hiStoreFormLocation( 'dmbCellviewCopyForm 270:330 )
    devRestoreWindow = nil
    devRestoreWindow = deOpen('(nil hierarchy "/{reg3 top schematic 0.2}:a")
    '(((652 41)(1152 726)) nil))
    when( devRestoreWindow
    hiZoomIn(devRestoreWindow '((-0.575000 -2.462500) (4.456250 4.075000)))
    )

    If you try these, let the usrs know what works and what doesn't so that
    the rest of us benefit from your actions,

    John Gianni
     
    John Gianni, Apr 22, 2004
    #2
  3. Manju Arasaiah

    S. Badel Guest

    i noticed there is a .libmgr file in home directory
    containing

    cdsLibManager.x: 17
    cdsLibManager.y: 8
    cdsLibManager.width: 655
    cdsLibManager.height: 520

    not sure of its use, though, could be worth checking

    stéphane
     
    S. Badel, Apr 22, 2004
    #3
  4. Manju Arasaiah

    Beau Schwabe Guest

    This is what I have used for the LSW window... I like to keep a clock
    just under it, otherwise it would go all the way towards the bottom.


    ;Reposition the LSW window
    procedure( LSW()
    leSetLSWBBox( list( 1165:160 1275:1095))
    )

    From here you can set a bindkey, or just type LSW in the ICFB window.
     
    Beau Schwabe, Apr 22, 2004
    #4
  5. John, Stephane,

    My trials reveal that for CIW, I had use hiResizeWindow()
    and for LibMgr, the .libmgr in ~ is used.

    I don't think cdsSession.save was used anywhere.

    Thanks guys..
    Manju
     
    Manju Arasaiah, Apr 22, 2004
    #5
  6. Manju Arasaiah

    John Gianni Guest

    Here is a quick summary based solely on the information in this thread:

    How to reposition & resize the DFII CIW, LSW, and Library Manager
    ----------------------------------------------------------------------------
    1. Use this in your ~/.cdsinit file to position & resize any numbered window:

    ;Reposition & resize the CIW window:
    hiResizeWindow(window(1) list(10:10 800:200))

    Note: The DFII command-interpreter-window is usually window #1.
    ----------------------------------------------------------------------------
    2. Use this in the ~/.libmgr file to position & resize the library manager:

    ;Reposition & resize the library-manager window:
    cdsLibManager.x: 217
    cdsLibManager.y: 0
    cdsLibManager.width: 774
    cdsLibManager.height: 672
    cdsLibManager*listsTopForm.height: 532
    cdsLibManager*msgTextWidget.height: 56
    cdsLibManager.columnWidths: 1,1,1,1
    cdsLibManager.libFilePercent: 30
    cdsLibManager.cellFilePercent: 30

    Note: Use this in your ~/.cdsinit to open the library manager:
    ;Open the library manager (reads the ~/.libmgr file each time):
    ddsOpenLibManager()
    ----------------------------------------------------------------------------
    3. Use this in your .cdsinit to reposition the LSW window to the right:

    ;Reposition & resize the LSW window:
    procedure( LSW()
    leSetLSWBBox( list( 1165:160 1275:1095))
    )
    LSW()
    ----------------------------------------------------------------------------
     
    John Gianni, Apr 23, 2004
    #6
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.