bind ADE netlist and run to a key
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
bind ADE netlist and run to a key

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence
Author Message
Svenn Are Bjerkem
Guest





Posted: Thu Nov 11, 2004 5:04 pm    Post subject: bind ADE netlist and run to a key Reply with quote

Hi,

I try to bind the . key to netlist and run in ADE. Here is what I try:
(hiSetBindKey "schematic" "<Key>."
"(sevNetlistAndRun (asiGetCurrentSession))")

sevNetlistAndRun() seems to be the proper function, but it takes an
argument, session.

I have obviously a problem finding the current session because the
function doesn't work as I expect:

To check the function, I tried
sevNetlistAndRun(asiGetCurrentSession()) on the CIW command line, and
got the message

*Error' slotValue: no such slot - simID

Any Idea?

Kind regards,
--
Svenn

Back to top
S. Badel
Guest





Posted: Thu Nov 11, 2004 5:32 pm    Post subject: Re: bind ADE netlist and run to a key Reply with quote

I did the following and it works, as long as you started ADE from within
the schematic, or inversely opened the schematic from ADE.

sevNetlistAndRun( sevSession( hiGetCurrentWindow() ) )

cheers,

stéphane


Svenn Are Bjerkem wrote:
Quote:
Hi,

I try to bind the . key to netlist and run in ADE. Here is what I try:
(hiSetBindKey "schematic" "<Key>."
"(sevNetlistAndRun (asiGetCurrentSession))")

sevNetlistAndRun() seems to be the proper function, but it takes an
argument, session.

I have obviously a problem finding the current session because the
function doesn't work as I expect:

To check the function, I tried
sevNetlistAndRun(asiGetCurrentSession()) on the CIW command line, and
got the message

*Error' slotValue: no such slot - simID

Any Idea?

Kind regards,
Back to top
Svenn Are Bjerkem
Guest





Posted: Thu Nov 11, 2004 6:51 pm    Post subject: Re: bind ADE netlist and run to a key Reply with quote

S. Badel wrote:
Quote:
I did the following and it works, as long as you started ADE from within
the schematic, or inversely opened the schematic from ADE.

sevNetlistAndRun( sevSession( hiGetCurrentWindow() ) )


Excellent!!,

just to make the thread documentation complete:
In order to make a shortcut for the netlist and run function in Analog
Design Environment, add following line to end of .cdsinit

Lispish:
(hiSetBindKey "schematic" "<Key>."
"(sevNetlistAndRun ((sevSession (hiGetCurrentWindow)))")

Skillish:
hiSetBindKey( "schematic" "<Key>."
"sevNetlistAndRun(sevSession(hiGetCurrentWindow()))")

This could then be extended to also include check and save, but as there
is a shortcut available for that already it is left as an exersise for
the reader.

Kind regards,
--
Svenn

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
Powered by phpBB