Library Manager - new Library
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Library Manager - new Library

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence
Author Message
Guenther Sohler
Guest





Posted: Mon Oct 03, 2005 12:10 pm    Post subject: Library Manager - new Library Reply with quote

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

Back to top
Roger Light
Guest





Posted: Mon Oct 03, 2005 12:10 pm    Post subject: Re: Library Manager - new Library Reply with quote

Guenther Sohler wrote:

Quote:
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
Back to top
Guenther Sohler
Guest





Posted: Mon Oct 03, 2005 4:10 pm    Post subject: Re: Library Manager - new Library Reply with quote

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

Back to top
Bernd Fischer
Guest





Posted: Tue Oct 04, 2005 12:10 pm    Post subject: Re: Library Manager - new Library Reply with quote

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:
Quote:
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 :)


Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB