• 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. PCB Design
  3. function key assignment with right click options.

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 163
  • Views 15161
  • Members are here 0
More Content
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

function key assignment with right click options.

Boma
Boma over 12 years ago

Problem: I want to assign a function key to automaticlly do a right click and a snap_to segment vertex while I am in a slide command.  Does anyone know how to do this?  Usually I do not mess with the function keys too much and my right click finger is starting to get real sore.  ;-)  Thanks.

Boma 

  • Cancel
  • mcatramb91
    mcatramb91 over 12 years ago
    Here are some examples, replace <key> with the keyboard key you would like to use.  These can be added to your local ENV file located at %HOME%\PCBENV.  Be careful of the syntax, there are single quotes used by the snap command and double quotes to enclose the entire funckey command string.

    funckey <key> "prepopup ; pop dyn_option_select 'Snap pick to@:@Via'"
    funckey <key> "prepopup ; pop dyn_option_select 'Snap pick to@:@Arc/Circle Center'"
    funckey <key> "prepopup ; pop dyn_option_select 'Snap pick to@:@Segment Vertex'"
    funckey <key> "prepopup ; pop dyn_option_select 'Snap pick to@:@Segment'"
    funckey <key> "prepopup ; pop dyn_option_select 'Snap pick to@:@Symbol Origin'"

    You can type scriptmode +echo on the Allegro command line then run thru the Right mouse button snapping commands to see the command syntax for each of the different snap types echoed onto the command line.

    Hope this helps,
    Mike Catrambone
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Boma
    Boma over 12 years ago

    Thanks Mike,  It works great.  My problem was I forgot the prepopup. 

    Boma

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
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