I don't use Virtuoso much, so this may be obvious to the power users, but when I exit Virtuoso (6.15) it always opens a "Save Display Information" dialog and accuses me of editing the way my layers appear, even if the only thing I've done is open the tool and then type 'exit' in the CIW.
Does it do that because it is reading display info from a file other than display.drf? Is there a way to suppress this dialog or a dotfile I need to look at/modify?
the problem appears be because I had a "drLoadDrf" command in my .cdsinit file.
In reply to keithd:
This form has always annoyed me as well. We setup the following trick to automatically cancel the form when we exit:
procedure(myAutoCancelSaveDrfForm() when(hiGraphicMode() hiRegTimer("hiiSetCurrentForm('techSaveDrmForm) hiFormCancel(techSaveDrmForm)" 10) ;for some reason the form in 6.1 doesn't appear as soon as in 5.1.41, so it needs a longer delay hiRegTimer("hiiSetCurrentForm('techSaveDrmForm) hiFormCancel(techSaveDrmForm)" 30) )) ;proc
Maybe some of the Cadence insiders have a better way to handle this, but this works for me.
In reply to dmay:
drLoadDrf() has a second (optional) argument. If you use:
Then it won't ask you to save it if display characteristics are changed during the session. This is often called in the libInit.il in the technology library - so adding nil as the second argument is any easy fix.
In reply to Andrew Beckett:
Thanks Andrew. I looked at the various places in our code where drf files are loaded and half of them used the second argument. I have updated the rest to pass in nil as well. There are so many layers in this onion. ;-)
The idea with the second argument does not work. I added
in my .cdsinit and the window still appears after I exit virtuoso. Based on Dereks idea I have done it in that way:
procedure(myAutoCancelSaveDrfForm()hiRegTimer("hiiSetCurrentForm('techSaveDrmForm) hiFormCancel(techSaveDrmForm)" 0))regExitBefore('myAutoCancelSaveDrfForm)
Curiously a delay of 0 is enough!