Wednesday, December 03, 2008     Register | Login | Search | Contact Us
     

Many of you already received communications about the move of the Cadence user community into cadence.com. And many of you have already joined, with over 4000 registrations in the first two weeks.

The new Cadence Community enhances the ability of Cadence users to connect and collaborate. In addition to moving the community into cadence.com -- enabling single sign-on for community, Sourcelink and Cadence events -- the new site is organized around nine technology segments, giving you easy access to product information, training, forums and blogs. Some of the new features include:
  • Ability to respond to posts via e-mail
  • Technology-specific blogs
  • Latest Web 2.0 social networking capabilities
  • Public profile options
  • Private messaging
  • Friends lists
Visit the new Cadence Community today at www.cadence.com/community and join the discussions!

Registration note: Due to the scope of the enhancements and the new SSO registration system, we were not able to migrate existing cdnusers.org member accounts. So new registrations are required, but this enables a broader set of functionality we think you'll enjoy.

Forum note: Under the guidance of forum moderators, we have taken the 20+ cdnusers.org forums and consolidated them into 11 forums on the new site. Posts have been brought over so you can leverage that posting history. CDNusers forums will be set to read only starting 7/30, and cdnusers.org will be redirected to the new community on 8/4.

Best regards,
Mike and Tom

Michael A. Catrambone - Steering Committee Chairman
Distinguished Engineer
PCB/Mechanical
UTStarcom, Inc.

Tom Diederich
Cadence Community Manager
Home
Forums
Subject: Allegro PCB Editor 15.7 shortcut key setting
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
lingam
Posts: 6
Online: User is Offline
2/01/2008 4:28 AM  
How to set shortcut key in Allegro PCB Editor 15.7?

Thanks in advance
mcatramb91
Posts: 141
Online: User is Offline
2/01/2008 9:39 AM  
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.
tashirot
Posts: 2
Online: User is Offline
2/12/2008 6:12 PM  
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
mcatramb91
Posts: 141
Online: User is Offline
2/13/2008 8:36 AM  
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.
Rajiv
Posts: 21
Online: User is Offline
5/29/2008 8:02 PM  
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

Regards!!
Rajiv Vig
Mando Softtech India
Rajiv
Posts: 21
Online: User is Offline
5/29/2008 8:02 PM  
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

Regards!!
Rajiv Vig
Mando Softtech India
harish.mellacheruvu@hcl.in
Posts: 13
Online: User is Offline
5/29/2008 11:27 PM  
Hi Mike,

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

mcatramb91
Posts: 141
Online: User is Offline
5/31/2008 12:45 PM  
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.
Rajiv
Posts: 21
Online: User is Offline
6/04/2008 7:51 PM  
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.

Regards!!
Rajiv Vig
Mando Softtech India
Rajiv
Posts: 21
Online: User is Offline
6/04/2008 7:51 PM  
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.

Regards!!
Rajiv Vig
Mando Softtech India
Posting to forums is available to community members only.
Login or Register

Forums > Silicon-package-board > PCB Design > Allegro PCB Editor 15.7 shortcut key setting


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.