Library Manager - new Library

  • Thread starter Guenther Sohler
  • Start date
G

Guenther Sohler

Guest
In our Cadence Enviroment - in the Library Manager , I want guide users to
create libraries at a dedicated place, if they create the libraries using

File->New-Library

I found a enviroment varible, which sounds promising, but it does not
seem to work. Reading the Documentation about that Variable doesn't
help me either.


envSetVal("cdsLibManager.newLib" "pathText" 'string strcat(PROJECT_DIR
"/work/" USER "/resources/cdb"))

How can I make users create libraries at a dedicated place by default ?
I am using cds/IC/5.1.41


rds
 
Guenther Sohler wrote:

envSetVal("cdsLibManager.newLib" "pathText" 'string strcat(PROJECT_DIR
"/work/" USER "/resources/cdb"))

How can I make users create libraries at a dedicated place by default ?
I am using cds/IC/5.1.41
Ah, that's useful, I wanted to do that as well.

It works if I put it in my .cdsenv, but not if I do envSetVal() as you
say (this is on 5.0.33).

I've come across this before - I had to set

auCore.toolFilter defaultTools string "UltraSim"

in .cdsenv as it wouldn't work otherwise.

Does anybody know why?

Roger
 
Hallo,

It actually works with

envSetVal("cdsLibManager.newLib" "pathText" 'string "<directory>")

there are just 2 issues:

* you have to put it into your cdsLibMgr.il
* cdsLibMgr must be found by cadence :)
 
You actually have to put it in two locations one for the DFII
in your .cdsinit ,you can also create new libraries form DFII,
and the second in the cdsLibMgr.il for the Lib-Manager as you
figured out yourself.

You can as well put the dderv.lib variable directly into the .cdsenv,
but with the disadvantage that then you have to hard code the
directory because the .cdsenv does not evaluate UNIX env vars.

e.g. in the .cdsinit

;; setting the default library path for creation of new libraries
t_projectDir = getShellEnvVar( "myProjectDir" )
envSetVal( "ddserv.lib" "newLibDir" 'string strcat( t_projectDir "/cdb") )


and for the cdsLibMgr.il

t_projectDir = getShellEnvVar( "myProjectDir" )
envSetVal(
"cdsLibManager.newLib"
"pathText"
'string
strcat( t_projectDir "/cdb")
)


Bernd

Guenther Sohler wrote:
Hallo,

It actually works with

envSetVal("cdsLibManager.newLib" "pathText" 'string "<directory>")

there are just 2 issues:

* you have to put it into your cdsLibMgr.il
* cdsLibMgr must be found by cadence :)
 

Welcome to EDABoard.com

Sponsor

Back
Top