SKILL Q: Updating the Library Manager Default Selection

E

Edward

Guest
Hi all,

By modifying these settings in your .cdsenv you can start the Library Manager with the correct library, cell, and view selected:

cdsLibManager.main libraryText string "MyLib"
cdsLibManager.main cellLevelText string "MyCell"
cdsLibManager.main viewLevelText string "MyView"

But if you change these variables later using SKILL (e.g. envSetVal cdsLibManager.main "cellLevelText" 'string "MyCell2") it makes no difference to the Library Manager. It still uses the environment variables in the .cdsenv.

So the question becomes, how do you get the Library Manager to notice environment variable changes (in this case to update selection) *without* explicitly writing the changes to a file and then loading them?

Edward
 
On 10/16/13 21:23, Edward wrote:
Hi all,

By modifying these settings in your .cdsenv you can start the
Library
Manager with the correct library, cell, and view selected:

cdsLibManager.main libraryText string "MyLib"
cdsLibManager.main cellLevelText string "MyCell"
cdsLibManager.main viewLevelText string "MyView"

But if you change these variables later using SKILL (e.g. envSetVal
cdsLibManager.main "cellLevelText" 'string "MyCell2") it makes no
difference to the Library Manager. It still uses the environment
variables in the .cdsenv.
So the question becomes, how do you get the Library Manager to
notice
environment variable changes (in this case to update selection)
*without* explicitly writing the changes to a file and then loading them?


Edward,

Because libManager is a separate process, it will not notice any
envSetVal() settings in the Virtuoso process. It will however read
envSetVal() settings in the file cdsLibMgr.il - but that won't really
help you...

So I think the simple answer is "that's the way it is".

Andrew.
 

Welcome to EDABoard.com

Sponsor

Back
Top