• 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. skill to repeat command in Layout L??

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 15607
  • 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

skill to repeat command in Layout L??

SteveRFIC
SteveRFIC over 8 years ago

Hi,

I wonder if there is a way to use skill or bindkeys to combine a few commands in layout.

For instance, I select an instance, I clikc "c" to copy, then I press "F3" to get the copy window, and then I give a delta value and then hit "Apply" with left mouse button. Then I finished the delta copy. If I want to do the same thing again, then I have to repeat, c, F3, click, c, F3, click.

When I check CIW, what appears is the following three commands:

leHiCopy()
hiToggleEnterForm()
_leApplyCopy(hiGetCurrentWindow())

I tried to put these three commands in a bindkey, but it does not work. I only get the copy command and I still have to press F3. Is there a way to combine these there things? to define a function that does the three things so that I can do this with one button?

Thanks!

  • Cancel
Parents
  • dmay
    dmay over 8 years ago

    I have several suggestions:

    1. Make sure you have "Repeat Commands" turned on in the top left of the Editor Options form. In the .cdsenv it is called "modalCommands".
    2. Cadence operations vary slightly depending if you pre-select an object or not. In this specific example, you can repeat easily if you DO NOT pre-select the object.
        a. Start the copy command with nothing selected, toggle the form, set the delta, then select an object and apply, select an object and apply
    3. The leHiCopy command is a blocking command so the other two commands won't run until the copy command completes. Try this:
        hiEnqueueCmd("hiToggleEnterForm()") hiEnqueueCmd("_leApplyCopy(hiGetCurrentWindow())") leHiCopy()
    4. If you are copying the same shape the same delta in the same direction, try using the rows or column feature on the copy form or the alternative Repeat Copy command.

    Derek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • dmay
    dmay over 8 years ago

    I have several suggestions:

    1. Make sure you have "Repeat Commands" turned on in the top left of the Editor Options form. In the .cdsenv it is called "modalCommands".
    2. Cadence operations vary slightly depending if you pre-select an object or not. In this specific example, you can repeat easily if you DO NOT pre-select the object.
        a. Start the copy command with nothing selected, toggle the form, set the delta, then select an object and apply, select an object and apply
    3. The leHiCopy command is a blocking command so the other two commands won't run until the copy command completes. Try this:
        hiEnqueueCmd("hiToggleEnterForm()") hiEnqueueCmd("_leApplyCopy(hiGetCurrentWindow())") leHiCopy()
    4. If you are copying the same shape the same delta in the same direction, try using the rows or column feature on the copy form or the alternative Repeat Copy command.

    Derek

    • 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