Home > Community > Forums > PCB Design > Allegro PCB Editor 15.7 shortcut key setting

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Allegro PCB Editor 15.7 shortcut key setting 

Last post Fri, Feb 1 2008 4:28 AM by archive. 7 replies.
Started by archive 01 Feb 2008 04:28 AM. Topic has 7 replies and 4237 views
Page 1 of 1 (8 items)
Sort Posts:
  • Fri, Feb 1 2008 4:28 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    Allegro PCB Editor 15.7 shortcut key setting Reply

    How to set shortcut key in Allegro PCB Editor 15.7?

    Thanks in advance


    Originally posted in cdnusers.org by lingam
    • Post Points: 0
  • Fri, Feb 1 2008 9:39 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Allegro PCB Editor 15.7 shortcut key setting Reply

    There is a couple ways this could be accomplished.

    1) Using the alias command to remap the keyboard function keys to a command or series of commands separated by a semicolon.
    Examples:
    alias F4 "add line"
    alias F5 "add line ; class board geometry ; subclass assembly_notes"

    Just press the function key above and it will automatically execute the command.


    2) Using the funckey command you can map a command or series of commands separated by a semicolon.
    Examples:
    funckey c "add connect"
    funckey at "add text; class board geometry ; subclass dimension"

    Just type the the letter(s) above with your cursor in the work area (design window) and it will automatically execute the command. Note: I believe the "funckey" command was introduced in SPB 15.5.1

    Hope this helps,
    Mike Catrambone
    UTStarcom, Inc.


    Originally posted in cdnusers.org by mcatramb91
    • Post Points: 0
  • Tue, Feb 12 2008 6:12 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Allegro PCB Editor 15.7 shortcut key setting Reply

    More useful information with respect to shortcut key setting.
    The above method by mcatramb91 is also useful, but they are not memorized once Allegro PCB Editor restarts.
    Here is the memorized method of alias shortcut key setting.

    1. Allegro PCB open -> Command > alias
    2. Save as "myenv" to \pcbenv (NO extension)
    3. Open the "myenv" with a text editor
    4. Turn off the alias command that you want to modify and add a new alias

    ex)

    #alias F6 add connect
    alias Insert add connect
    # : Turn off mark

    5. Overwrite save
    6. Restart Allegro PCB

    Allegro default alias commands are of small use since these are unmemorable.
    For example, alias Shift+F7 = move, alias F6 = add connect, etc.
    Just for reference, I have changed commonly-used key to new key as follows.
    This makes you allow a series of routing operations with one hand.

    ex)

    #alias F10 zoom in
    alias Pgup zoom in

    #alias F11 zoom out
    alias Pgdown zoom out

    #alias SF7 move
    alias Home move

    #alias SF9 copy
    alias c copy

    Regards ,
    Tomo


    Originally posted in cdnusers.org by tashirot
    • Post Points: 0
  • Wed, Feb 13 2008 8:36 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Allegro PCB Editor 15.7 shortcut key setting Reply

    Tomo,

    You make a very good point that I did not mention in my post. Setting an alias while in Allegro is only good for that session only and is not remembered the next time you start Allegro.

    I believe using a file called "myenv" in your pcbenv directory will NOT be read during Allegro startup, at least in the default configuration of the tools. Maybe you have a special tool configuration that reads myenv.

    All,

    Out of the box with Allegro you can modify the env file or add a line to source your custom environmental setting so they are read during Allegro startup. The following file called "env" it is automatically created inside of the pcbenv directory once you modify any settings using the User Preferences editor (Setup > User Preferences...)

    source $TELENV

    ### User Preferences section
    ### This section is computer generated.
    ### Please do not modify to the end of the file.
    ### Place your hand edits above this section.
    ###
    set film_nosort

    If you choose to create your own environmental settings file that all you need to do is add a source statement to the file as follows: (Note: It must be below the "source $TELENV" line and above the User Preferences section.)

    source $TELENV

    # Source my env settings
    source $HOME\pcbenv\myenv.txt

    ### User Preferences section
    ### This section is computer generated.
    ### Please do not modify to the end of the file.
    ### Place your hand edits above this section.
    ###
    set film_nosort

    You also can just add the alias and setting directly to the env file as well but again must be below the "source $TELENV" line and above the User Preferences section as follows:

    source $TELENV

    # My env settings

    alias Insert replay 2_5grid.scr
    alias Home replay 5grid.scr
    alias Pgup replay 25grid.scr

    set display_nohilitefont
    set draft_retain_class_subclass

    ### User Preferences section
    ### This section is computer generated.
    ### Please do not modify to the end of the file.
    ### Place your hand edits above this section.
    ###
    set film_nosort

    One final note: When you save off all of the default alias' and settings for Allegro please only use it as reference and only add the overriding or custom settings in your own env file to avoid any weird issues with the tools. Sure most of the setting won't matter that it appears in your local env file but some do so be carefull.

    Hope this helps,
    Mike Catrambone
    UTStarcom, Inc.


    Originally posted in cdnusers.org by mcatramb91
    • Post Points: 0
  • Thu, May 29 2008 8:02 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Allegro PCB Editor 15.7 shortcut key setting Reply

    Hi Mike I tried making myenv file as you explained but didn't work. Also if I modify my original env file then after some time it automatically changes to env,1 & a new env file is created with default settings of tool. Please let me know how to resove this ? Thakns in advance


    Originally posted in cdnusers.org by Rajiv
    • Post Points: 0
  • Thu, May 29 2008 11:27 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Allegro PCB Editor 15.7 shortcut key setting Reply

    Hi Mike,

    Can you please explain it again.
    Its not working when I tried.


    Originally posted in cdnusers.org by harish.mellacheruvu@hcl.in
    • Post Points: 0
  • Sat, May 31 2008 12:45 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Allegro PCB Editor 15.7 shortcut key setting Reply

    It should work. I looked my post again and everything seems to be correct.

    Can you attached your ENV file that you modified so I can review it. Also if you settings were removed from the ENV when a ENV,1 was generated means that you added you setting at the end of the file instead of above the User Preferences section. You setting should be above the following statements in the ENV file for them to stick.

    ### User Preferences section
    ### This section is computer generated.
    ### Please do not modify to the end of the file.
    ### Place your hand edits above this section.
    ###

    Unless there is a new bug that has appeared in the tool this should work. Send the ENV file and I will review it then post my findings.

    Hope this helps,
    Mike Catrambone
    UTStarcom, Inc.


    Originally posted in cdnusers.org by mcatramb91
    • Post Points: 0
  • Wed, Jun 4 2008 7:51 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Allegro PCB Editor 15.7 shortcut key setting Reply

    Hi Mike I checked my env file. Actually one of the shortcut was written beneath the line section you mentioned. After amending it is working fine. Thanks for your support.


    Originally posted in cdnusers.org by Rajiv
    • Post Points: 0
Page 1 of 1 (8 items)
Sort Posts:
Started by archive at 01 Feb 2008 04:28 AM. Topic has 7 replies.