Question on setting BINDKEYS in Artist.

R

Raghavendra

Guest
Hi,

I'm using Cadence Analog Artist 5.0.0.

For most of my simulations I use : Analog Design Environment for DC,
Transient or AC analysis.

I would like to set bindkeys to:
- Annotate design deaults on my schematic.
- Annotate DC operating point on my scheamtic.
- Annotate DC operating voltages on my schematic.

Is it possible to do this? If yes, how would I proceed?

Thanks!
Raghavendra
 
"Raghavendra" == Raghavendra <ragkul@gmail.com> writes:
Raghavendra> Date: 9 Feb 2005 13:55:13 -0800

Raghavendra> Hi,

Raghavendra> I'm using Cadence Analog Artist 5.0.0.

Raghavendra> For most of my simulations I use : Analog Design
Raghavendra> Environment for DC, Transient or AC analysis.

Raghavendra> I would like to set bindkeys to:

Raghavendra> - Annotate design deaults on my schematic.

(when (sevSession (hiGetCurrentWindow)) (sevAnnotateResults
(sevSession (hiGetCurrentWindow)) 'defaults))

Raghavendra> - Annotate DC operating point on my scheamtic.

(when (sevSession (hiGetCurrentWindow)) (sevAnnotateResults
(sevSession (hiGetCurrentWindow)) 'dcOpPoints))

Raghavendra> - Annotate DC operating voltages on my schematic.

(when (sevSession (hiGetCurrentWindow)) (sevAnnotateResults
(sevSession (hiGetCurrentWindow)) 'dcNodeVoltages))

Raghavendra> Is it possible to do this? If yes, how would I
Raghavendra> proceed?

Raghavendra> Thanks! Raghavendra

The above should work.

Satya


--
Remove XXX and YYY to get my address
 
Works Great! Thanks very much!

In summary to others referring to this post:
============================================

Add this to your .cdsinit file:

hiSetBindKey("Schematics" "<Key>F5" "(when (sevSession
(hiGetCurrentWindow)) (sevAnnotateResults (sevSession (hiGetCur
rentWindow)) 'dcNodeVoltages)) ")

hiSetBindKey("Schematics" "<Key>F6" "(when (sevSession
(hiGetCurrentWindow)) (sevAnnotateResults (sevSession (hiGetCur
rentWindow)) 'defaults)) ")

hiSetBindKey("Schematics" "<Key>F7" "(when (sevSession
(hiGetCurrentWindow)) (sevAnnotateResults (sevSession (hiGetCur
rentWindow)) 'dcOpPoints)) ")


-Raghavendra






Satya Mishra wrote:
"Raghavendra" == Raghavendra <ragkul@gmail.com> writes:
Raghavendra> Date: 9 Feb 2005 13:55:13 -0800

Raghavendra> Hi,

Raghavendra> I'm using Cadence Analog Artist 5.0.0.

Raghavendra> For most of my simulations I use : Analog Design
Raghavendra> Environment for DC, Transient or AC analysis.

Raghavendra> I would like to set bindkeys to:

Raghavendra> - Annotate design deaults on my schematic.

(when (sevSession (hiGetCurrentWindow)) (sevAnnotateResults
(sevSession (hiGetCurrentWindow)) 'defaults))

Raghavendra> - Annotate DC operating point on my scheamtic.

(when (sevSession (hiGetCurrentWindow)) (sevAnnotateResults
(sevSession (hiGetCurrentWindow)) 'dcOpPoints))

Raghavendra> - Annotate DC operating voltages on my schematic.

(when (sevSession (hiGetCurrentWindow)) (sevAnnotateResults
(sevSession (hiGetCurrentWindow)) 'dcNodeVoltages))

Raghavendra> Is it possible to do this? If yes, how would I
Raghavendra> proceed?

Raghavendra> Thanks! Raghavendra

The above should work.

Satya


--
Remove XXX and YYY to get my address
 
In article <1108062529.569556.79450@z14g2000cwz.googlegroups.com> "Raghavendra" <ragkul@gmail.com> writes:
Works Great! Thanks very much!

In summary to others referring to this post:
============================================

Add this to your .cdsinit file:

hiSetBindKey("Schematics" "<Key>F5" "(when (sevSession
(hiGetCurrentWindow)) (sevAnnotateResults (sevSession (hiGetCur
rentWindow)) 'dcNodeVoltages)) ")

hiSetBindKey("Schematics" "<Key>F6" "(when (sevSession
(hiGetCurrentWindow)) (sevAnnotateResults (sevSession (hiGetCur
rentWindow)) 'defaults)) ")

hiSetBindKey("Schematics" "<Key>F7" "(when (sevSession
(hiGetCurrentWindow)) (sevAnnotateResults (sevSession (hiGetCur
rentWindow)) 'dcOpPoints)) ")
Actually, you should add:

hiSetBindKeys( "Schematics" list(
list( "<Key>F5" "(when (sevSession (hiGetCurrentWindow)) (sevAnnotateResults (sevSession (hiGetCur rentWindow)) 'dcNodeVoltages)) ")
list( "<Key>F6" "(when (sevSession (hiGetCurrentWindow)) (sevAnnotateResults (sevSession (hiGetCur rentWindow)) 'defaults)) ")
list( "<Key>F7" "(when (sevSession (hiGetCurrentWindow)) (sevAnnotateResults (sevSession (hiGetCur rentWindow)) 'dcOpPoints)) ")
))

When setting multiple bindkeys it is always better to use hiSetBindKeys rather
than multiple calls to hiSetBindKey where possible.

-Pete Zakel
(phz@seeheader.nospam)

"The opposite of a profound truth may well be another profound truth."

-Bohr
 

Welcome to EDABoard.com

Sponsor

Back
Top