| Author |
Message |
Svenn Are Bjerkem
Guest
|
Posted:
Thu Nov 11, 2004 5:04 pm Post subject:
bind ADE netlist and run to a key |
|
|
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 |
|
|
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 |
|
|
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 |
|
 |
|
|
|
|