• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. can multiple functionality's assigned to same bindkey

Stats

  • Locked Locked
  • Replies 11
  • Subscribers 142
  • Views 5009
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

can multiple functionality's assigned to same bindkey

RAGHU2634
RAGHU2634 over 6 years ago

Hi,

Is there any way so we can assign multiple functionalities to the  same bindkey

For eg :

on selecting metal 1  & pressing( ctrl + 1 ) it is converted to metal2 .if (ctrl+1) is pressed i.e; twice  again it should change to metal3 & so on...

Note : I am not doing the above one . I am doing something similar. Please let me  know how to approach this

Thanks,

Raghu

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    Hi Raghu,

    Isn't that just a matter of having your function look at the layer of the shape that is selected, and if it's on metal1 move to metal2, if on metal2 move to metal3 and so on? It sounds like a single function to me that just needs to look at the data.

    Otherwise how is it going to know what the current "state" of the data is?

    Regards,

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • RAGHU2634
    RAGHU2634 over 6 years ago in reply to Andrew Beckett

    Sorry Andrew . I couldn't explain my question exactly. I am not doing the metal layer change as said above.

    Normally If i press one bindkey it runs  procedure and executes the skill  . Now I want to  stay inside  procedure  till i press ESC key (eg ; leHiRepeatCopy()) till the time inside procedure I should run different functionalities using same or different bindkeys .Is this possible ? Hope I conveyed it now a bit better. Please let me know

    Thanks,

    Raghu

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to RAGHU2634

    For repeated commands like this you'd probably need to use an enterFunction of some sort to prompt you do to something. It's not really very clear what you're trying to do.

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • RAGHU2634
    RAGHU2634 over 6 years ago in reply to Andrew Beckett

    Hi Andrew ,

    I need an example how to use enterFunction .

    Thanks,

    Raghu

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RAGHU2634
    RAGHU2634 over 6 years ago in reply to Andrew Beckett

    I am writing a procedure, which  I will call using  a bindkey. I want to stay inside the procedure and waiting for other key presses, based on which, it will execute sub functions upon if condition inside the same procedure. There will be one key  for eg, "ESC" which should get come out of everything. Basically i want to know how to stay inside a procedure waiting for my next keypress.

    Thanks,

    Raghu

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to RAGHU2634

    Search in the forums for (say) enterPoints - that will give you a number of different examples using one of the enter functions. There are a number of other enterFunctions (all of which begin with "enter" - so you can find them in cdsFinder and in the documentation).

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • RAGHU2634
    RAGHU2634 over 6 years ago in reply to Andrew Beckett

    Hi Andrew,

    We should only use the existing enterFunctions available ? . Can't we write user defined  functions  & use it ?

    Thanks,

    Raghu

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to RAGHU2634

    Hi Raghu,

    It makes no sense to write your own enterFunctions. These are built-in functions which prompt you to enter a point, a box, a path etc. You can of course call these from within your own functions, but the whole point is that they are the interface for you to digitise things and interactively enter points etc.

    I suspect you're not understanding what the point of enter functions is...

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to RAGHU2634

    Hi Raghu,

    It makes no sense to write your own enterFunctions. These are built-in functions which prompt you to enter a point, a box, a path etc. You can of course call these from within your own functions, but the whole point is that they are the interface for you to digitise things and interactively enter points etc.

    I suspect you're not understanding what the point of enter functions is...

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information