Macros and hotkeys in Cadence Allegro PCB Editor

Here are a few examples for aliasing snap functions …

funckey f "prepopup;pop dyn_option_select 'Snap pick to@:@Figure'"
funckey i "prepopup;pop dyn_option_select 'Snap pick to@:@Intersection'" 
funckey c "prepopup;pop dyn_option_select 'Snap pick to@:@Arc/Circle Center'"
funckey v "prepopup;pop dyn_option_select 'Snap pick to@:@Via'"
funckey SF3 "prepopup;pop dyn_option_select 'Snap pick to@:@Shape Center'"
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 appmode = signalintegrity
set padpath = $padpath F:/Cadence_demo/lib/
set modulepath = $modulepath F:/Cadence_demo/lib/
set psmpath = F:/Cadence_demo/lib/ $psmpath
set parampath = F:/Cadence_demo/lib/
set devpath = $devpath F:/Cadence_demo/lib/
set padentry_factor = 10
set allegro_etch_length_on
set autosave_time = 10
set autosave
set pcb_cursor = infinite
set showelement_brief
unset showelement_xhatcharea
set showelement_highspeed
set all_license_choices

funckey a add connect
funckey i show element
funckey r iangle 90
funckey g grid toogle
funckey f "pop mirror"
funckey Del delete
funckey v change_vianet
funckey e move

unalias F6

funckey t toggle
funckey z "pop Add via"
funckey q done
funckey " " "pop bbdrill -cursor"

funckey ~@ FORM vf_vis colorview_list Film: TOP
funckey ~1 FORM vf_vis colorview_list Film: INT1
funckey ~2 FORM vf_vis colorview_list Film: INT2
funckey ~3 FORM vf_vis colorview_list Film: INT3
funckey ~4 FORM vf_vis colorview_list Film: INT4
funckey ~5 FORM vf_vis colorview_list Film: INT5
funckey ~6 FORM vf_vis colorview_list Film: INT6
funckey ~7 FORM vf_vis colorview_list Film: INT7
funckey ~8 FORM vf_vis colorview_list Film: INT8
funckey ~9 FORM vf_vis colorview_list Film: INT9
funckey ~0 FORM vf_vis colorview_list Film: INT10
funckey ~= FORM vf_vis colorview_list Film: BOTTOM
funckey ~S@ FORM vf_vis colorview_list Film: ASSYTOP
funckey ~S1 FORM vf_vis colorview_list Film: ASSYBOT
funckey ~S2 FORM vf_vis colorview_list Film: SILKTOP
funckey ~S3 FORM vf_vis colorview_list Film: SILKBOT
funckey ~S4 FORM vf_vis colorview_list Film: MASKTOP
funckey ~S5 FORM vf_vis colorview_list Film: MASKBOT
funckey ~S6 FORM vf_vis colorview_list Film: PASTETOP
funckey ~S7 FORM vf_vis colorview_list Film: PASTEBOT
funckey ~S8 FORM vf_vis colorview_list Film: INT8
funckey ~S9 FORM vf_vis colorview_list Film: INT9
funckey ~S0 FORM vf_vis colorview_list Film: INT10
funckey ~S= FORM vf_vis colorview_list Film: BOTTOM

funckey c assign_net

HELP

——

Assign net via
Net assign

put into skill dir

Loading skills into editor example:

skill load("skill/change_net_on_vias.il")

or

skill load("skill/net_assign.il")

Issue: Cadence Allegro 16.6 unable to generate NC Drill file, just hangs on progress bar while output NC drill. BRD-file located on Windows subst logic drive.

Solution: Copy file to physical drive, instead of subst directory, then NC drill will be working fine.

Projects like this are born from passion and a desire to share how things work. Education is the foundation of a healthy society - especially important in today's volatile world. xDevs began as a personal project notepad in Kherson, Ukraine back in 2008 and has grown with support of passionate readers just like you. There are no (and never will be) any ads, sponsors or shareholders behind xDevs.com, just a commitment to inspire and help learning. If you are in a position to help others like us, please consider supporting xDevs.com’s home-country Ukraine in its defense of freedom to speak, freedom to live in peace and freedom to choose their way. You can use official site to support Ukraine – United24 or Help99. Every cent counts.

Author: xDevs.com Team
Created: Oct. 28, 2014, 10:03 a.m.
Modified: Dec. 28, 2016, 7:07 a.m.

References