Cadence windows' positions - at startup..

M

Manju Arasaiah

Guest
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@intersil.com (Manju Arasaiah) wrote in message news:<5070f848.0404211331.52a6ab1d@posting.google.com>...
I am trying to figure out how to pre-arrange the
CIW, Library Browser, LSW windows when they start up.
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
 
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

"John Gianni" <dmsflow@yahoo.com> wrote in message
news:d92d25cb.0404212119.4fffed1a@posting.google.com...
manju@intersil.com (Manju Arasaiah) wrote in message
news:<5070f848.0404211331.52a6ab1d@posting.google.com>...
I am trying to figure out how to pre-arrange the
CIW, Library Browser, LSW windows when they start up.

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
 
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.


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

"John Gianni" <dmsflow@yahoo.com> wrote in message
news:d92d25cb.0404212119.4fffed1a@posting.google.com...
manju@intersil.com (Manju Arasaiah) wrote in message
news:<5070f848.0404211331.52a6ab1d@posting.google.com>...
I am trying to figure out how to pre-arrange the
CIW, Library Browser, LSW windows when they start up.

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, 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

"S. Badel" <stephane.badel@epfl.ch> wrote in message news:<408776cb$1@epflnews.epfl.ch>...
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

"John Gianni" <dmsflow@yahoo.com> wrote in message
news:d92d25cb.0404212119.4fffed1a@posting.google.com...
manju@intersil.com (Manju Arasaiah) wrote in message
news:<5070f848.0404211331.52a6ab1d@posting.google.com>...
I am trying to figure out how to pre-arrange the
CIW, Library Browser, LSW windows when they start up.

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
 
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()
----------------------------------------------------------------------------
 

Welcome to EDABoard.com

Sponsor

Back
Top