Question on setting BINDKEYS in Artist.

Discussion in 'Cadence' started by Raghavendra, Feb 9, 2005.

  1. Raghavendra

    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, Feb 9, 2005
    #1
  2. Raghavendra

    Satya Mishra Guest

    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
     
    Satya Mishra, Feb 9, 2005
    #2
  3. Raghavendra

    Raghavendra Guest

    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
     
    Raghavendra, Feb 10, 2005
    #3
  4. Raghavendra

    Guest Guest

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

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

    -Bohr
     
    Guest, Feb 10, 2005
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.