• 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. Allegro X PCB Editor
  3. How to Assign a Hotkey for "Temp Group" in Allegro Using...

Stats

  • State Suggested Answer
  • Replies 3
  • Answers 3
  • Subscribers 159
  • Views 379
  • Members are here 0
More Content

How to Assign a Hotkey for "Temp Group" in Allegro Using ENV File?

VK202506218248
VK202506218248 3 months ago

Hi everyone,

I'm trying to assign a hotkey to activate the Temp Group option in Allegro (version 23.1), using the ENV file. I wrote the following line:

funckey t "prepopup;pop dyn_option_select 'Temp Group'"

However, pressing t during commands like Copy or Move (where Temp Group normally appears in the right-click menu) doesn't trigger anything.

I understand that Temp Group is context-sensitive and only appears during certain operations, but I was hoping it could be triggered similarly to other dynamic options like:

funckey p "prepopup;pop dyn_option_select 'Snap pick to@:@Pin'"

So my questions are:

  • Is it technically possible to assign a hotkey to Temp Group?
  • Is my syntax incorrect, or is Temp Group simply not accessible via dyn_option_select?
  • Are there any workarounds or SKILL-based methods to simulate this behavior?

Thanks in advance!

TRANSLATE with x
English
Arabic Hebrew Polish
Bulgarian Hindi Portuguese
Catalan Hmong Daw Romanian
Chinese Simplified Hungarian Russian
Chinese Traditional Indonesian Slovak
Czech Italian Slovenian
Danish Japanese Spanish
Dutch Klingon Swedish
English Korean Thai
Estonian Latvian Turkish
Finnish Lithuanian Ukrainian
French Malay Urdu
German Maltese Vietnamese
Greek Norwegian Welsh
Haitian Creole Persian
TRANSLATE with
COPY THE URL BELOW
Back
EMBED THE SNIPPET BELOW IN YOUR SITE
Enable collaborative features and customize widget: Bing Webmaster Portal
Back
  • Sign in to reply
  • Cancel
Parents
  • excellon1
    0 excellon1 1 month ago

    Hi,

    I think it is probably easier to do this with a macro tied to a hot-key but it can also be done using a hot key. Here is an example of using the temp group with move.
    Temp Group needs the command to be pre-selected first such as move etc so have to add the command to the actual hot key syntax.

    funckey m  "move; prepopup; group; pop dyn_option_select 'Snap pick to@:@Symbol Origin' "

    On my system here I hit M followed by the enter key, then select the symbols, then right click "Complete" and lastly left click to move the symbols. Normally with hotkeys
    I hit the key and the command works directly without having to hit the enter key after invoking the hot key, My syntax may be slightly off..

    Maybe try it out to see if gets you closer to what your after.

    Best regards.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • excellon1
    0 excellon1 1 month ago in reply to excellon1

    Here is a macro to move symbols by adding them to a temp group first. Works better than traditional hot key !, easier read too :)


    #Script to Move symbols by adding them to a Temp Group first.
    #
    setwindow pcb
    generaledit
    move
    prepopup
    group
    prepopup
    pop dyn_option_select 'Snap pick to@:@Symbol Origin'
    #

    Select the text above and save it to where your Allegro Scripts folder is located. I use c:\cadence. Save the file as something like move.scr

    In your env file add a hot key to invoke the command for example

    funckey m replay move

    Restart allegro so as to load the updated env file.

    Best regards.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • excellon1
    0 excellon1 1 month ago in reply to excellon1

    Here is a macro to move symbols by adding them to a temp group first. Works better than traditional hot key !, easier read too :)


    #Script to Move symbols by adding them to a Temp Group first.
    #
    setwindow pcb
    generaledit
    move
    prepopup
    group
    prepopup
    pop dyn_option_select 'Snap pick to@:@Symbol Origin'
    #

    Select the text above and save it to where your Allegro Scripts folder is located. I use c:\cadence. Save the file as something like move.scr

    In your env file add a hot key to invoke the command for example

    funckey m replay move

    Restart allegro so as to load the updated env file.

    Best regards.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
No Data
Cadence Guidelines

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