How to set corner in cdsinit
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
How to set corner in cdsinit

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





Posted: Mon Dec 20, 2004 6:30 pm    Post subject: How to set corner in cdsinit Reply with quote

Hi

I define model path and specific model files in the cdsinit file. I
would also like to add the specific corner (section) in the same manner.
I have tried to search for a solution but have come up short. Any advise?

This is how I do the model definition now .. and where I would like to
add the section:

asiSetEnvOptionVal( asiGetTool('spectre) 'modelFiles '("modelfile.scs") )

Best,

Jan

Back to top
Bernd Fischer
Guest





Posted: Mon Dec 20, 2004 6:59 pm    Post subject: Re: How to set corner in cdsinit Reply with quote

I did this this way

t_techDir = getShellEnvVar( "TECH_DIR" )
t_modelLibraries = strcat(
t_techDir "/spectre/models/myModelLib1.scs;tt "
t_techDir "/spectre/models/myModelLib2.scs;tt "
)

envSetVal( "spectre.envOpts" "modelFiles" 'string t_modelLibraries )

Bernd

Jan Mikkelsen wrote:
Quote:
Hi

I define model path and specific model files in the cdsinit file. I
would also like to add the specific corner (section) in the same manner.
I have tried to search for a solution but have come up short. Any advise?

This is how I do the model definition now .. and where I would like to
add the section:

asiSetEnvOptionVal( asiGetTool('spectre) 'modelFiles '("modelfile.scs") )

Best,

Jan
Back to top
Jan Mikkelsen
Guest





Posted: Mon Dec 20, 2004 7:35 pm    Post subject: Re: How to set corner in cdsinit Reply with quote

Hi Bernd

Didnt know that the ; operator did that. Now a simple
asiSetEnvOptionVal( asiGetTool('spectre) 'modelFiles
'("modelfile.scs;tt") ) gives me what I want.

Thanks !

/Jan

Bernd Fischer > wrote:
Quote:
I did this this way

t_techDir = getShellEnvVar( "TECH_DIR" )
t_modelLibraries = strcat(
t_techDir "/spectre/models/myModelLib1.scs;tt "
t_techDir "/spectre/models/myModelLib2.scs;tt "
)

envSetVal( "spectre.envOpts" "modelFiles" 'string t_modelLibraries )

Bernd

Jan Mikkelsen wrote:

Hi

I define model path and specific model files in the cdsinit file. I
would also like to add the specific corner (section) in the same
manner. I have tried to search for a solution but have come up short.
Any advise?

This is how I do the model definition now .. and where I would like to
add the section:

asiSetEnvOptionVal( asiGetTool('spectre) 'modelFiles '("modelfile.scs") )

Best,

Jan


Back to top
Richard Griffith
Guest





Posted: Tue Dec 21, 2004 5:12 am    Post subject: Re: How to set corner in cdsinit Reply with quote

Bernd Fischer > wrote:
Quote:
I did this this way

t_techDir = getShellEnvVar( "TECH_DIR" )
t_modelLibraries = strcat(
t_techDir "/spectre/models/myModelLib1.scs;tt "
t_techDir "/spectre/models/myModelLib2.scs;tt "
)

envSetVal( "spectre.envOpts" "modelFiles" 'string t_modelLibraries )


Any idea how to put in a "disabled" section. I would like to put an
alternate library file that would not normally be used, but could be
enabled if needed.



-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------
http://www.newsfeed.com The #1 Newsgroup Service in the World!
-----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----
Back to top
Andrew Beckett
Guest





Posted: Tue Dec 21, 2004 4:09 pm    Post subject: Re: How to set corner in cdsinit Reply with quote

On Mon, 20 Dec 2004 19:12:23 -0500, Richard Griffith <rgriffith@istop.com> wrote:

Quote:
Any idea how to put in a "disabled" section. I would like to put an
alternate library file that would not normally be used, but could be
enabled if needed.


It can't be done currently. As a result of PCR 682957, this will be available in IC5251 by doing:

spectre.envOpts modelFiles string "fileName1;section #;fileName2;section fileName3;section"

Regards,

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