在allegro中设置PADS常用的快捷键方法把ENV文件复制到目录C:\\Cadence\\SPB_16.3\\share\\pcb\\text 替换就OKENV文件内容:## ALLEGRO GLOBAL Environment file## The following variables are set by the software if not preset by user:# CDS_SITE, ALLEGRO_SITE, TELENV, ALLEGRO_INSTALL_DIR,# ALLEGRO_INSTALL_TOOLS, ALLEGRO_INSTALL_ROOT, ALLEGRO_TYPE,# __UNIX (if UNIX), _PROGRAM, HOME## You may set the Operating System variable:# ALLEGRO_PCBENV <alternative directory># to overwrite the default of the user's pcbenv directory. This variable# must be set at the OS level and has no effect if set in an Allegro env file. # The directory given must exist. If no directory is found the system will# fallback to its default location.## The following variables are preset at startup, direct settings in env# files will be overridden# LOCALENV: seeded based upon <HOME>/pcbenv (or if set ALLEGRO_PCBENV)# LOCALPATH: seeded based upon . LOCALENV, ALLEGRO_SITE, GLOBALPATH# Variable names are case insensitive#--------------------------------------------------------------------# System Variablesset GLOBAL = $ALLEGRO_INSTALL_DIR/text# change from LIBPATH because it conflicts with IBM's shared library# environment variableset ALIBPATH = $ALLEGRO_INSTALL_DIR/pcb_libset COMPLIBPATH = $ALLEGRO_INSTALL_DIR/allegrolibset GLOBALPATH = . $GLOBAL# Allegro Data Services Variableset ADSPATH = $GLOBALPATH# Present for compatiblity with older versions of Allegro.ifnvar ALLEGRO_SITE "set ALLEGRO_SITE ."ifnvar CDSPLAT "set CDSPLAT "ifnvar ALLEGRO_INSTALL_DLL "set ALLEGRO_INSTALL_DLL "#--------------------------------------------------------------------# Configuration variables (Don't change)set BMPPATH = . $ALLEGRO_SITE/icons $GLOBAL/iconsset FORMPATH = . $ALLEGRO_SITE/forms $GLOBAL/formsset MENUPATH = . $ALLEGRO_SITE/menus $GLOBAL/cuimenusset MATERIALPATH = . $LOCALENV $ALLEGRO_SITE $GLOBAL#Configuration pathsset PRFEDITPATH = . $LOCALENV/configure/prfedit $ALLEGRO_SITE/configure/prfedit $ALLEGRO_INSTALL_DIR/configure/prfeditset BATCHHELPPATH = . $ALLEGRO_INSTALL_DIR/batchhelpset SPROUTEPATH = $ALLEGRO_INSTALL_DIR/configure/sprouteset HELPPATH = . $ALLEGRO_INSTALL_DIR/help $GLOBAL/helpset PDFPATH = . $ALLEGRO_INSTALL_DIR/help/pdf# Graphics demo envset IMAGEPATH = . $ALLEGRO_INSTALL_DIR/examples/image# Allegro Plugin search pathset AXLPLUGINPATH = . $LOCALENV/$CDSPLAT $ALLEGRO_SITE/$CDSPLAT $ALLEGRO_INSTALL_DLL#--------------------------------------------------------------------# Drawing fontset VECTORFONTPATH = . $GLOBALset ANSIFONT = ansifontset KANJIFONTPATH = . $GLOBAL/fonts/kanjiset KANJIFONT1 = kanjifont1set KANJIFONT2 = kanjifont2#--------------------------------------------------------------------# Display Variablesset display_backingstore on# disable repair under ratsnestsset display_shapefill_analysis 1#--------------------------------------------------------------------#--------------------------------------------------------------------set compalib = $ALIBPATH/symbols $COMPLIBPATH/symbolsset topfilelib = $ALIBPATH/templates $COMPLIBPATH/templatesset signal_install_dir = $ALLEGRO_INSTALL_DIR/signalset signal_optlib_dir = $signal_install_dir/optlib# HDL Supported Design Library Search Path Variablesset MODULEPATH = . $ALLEGRO_SITE/modulesset TILEPATH = . $ALLEGRO_SITE/modulesset WBPATH = . $ALLEGRO_SITE/wbtiersset PADPATH = . symbols .. ../symbols $ALLEGRO_SITE/padstacks $compalibset PSMPATH = . symbols .. ../symbols $ALLEGRO_SITE/symbols $compalibset pcell_lib_path = $ALLEGRO_SITE/../../rfsip/sip_pcells . sip_pcells .. ../sip_pcells $ALLEGRO_INSTALL_DIR/../rfsip/sip_pcellsset TECHPATH = . $ALLEGRO_SITE/tech $GLOBAL/techset PARAMPATH = . $ALLEGRO_SITE/parameterset TOPOLOGY_TEMPLATE_PATH = . templates .. ../templates $ALLEGRO_SITE/topology $topfilelib# SigNoise data installation directoryset SIGNOISEPATH = . $LOCALENV $ALLEGRO_SITE/signal $signal_install_dir $signal_optlib_dir $GLOBAL# SigNoise model variables.set SI_MODEL_PATH = . $ALLEGRO_SITE/signal $signal_install_dirset SI_MODEL_FILE_EXT = Generic_IBIS(ibs) IBIS_Buffer(buf) IBIS_EBD(ebd) IBIS_ICM(icm)IBIS_Pin_List(pin) IBIS_Package(pkg) Quad(mod) Generic_SPICE(spc) HSpice_Input(sp) HSpice_Output(lis) Spectre(spc) Touchstone(S?p,s??,snp) DML(ndx,dml) Interconnect(iml) ABIML(abiml)#--------------------------------------------------------------------# Non-HDL Supported Design Search Path Variablesset MISCPATH = . $ALLEGRO_SITE/miscset ARTPATH = . .. $ALLEGRO_SITEset APTPATH = . .. $ALLEGRO_SITEset CLIPPATH = .set DCLPATH = . .. $ALIBPATH $COMPLIBPATHset DEVPATH = . devices .. ../devices $ALLEGRO_SITE/devices $ALIBPATH/devices $COMPLIBPATH/devices set DFAAUDITPATH = . $ALLEGRO_SITE/assembly $ALLEGRO_INSTALL_DIR/assemblyset DFACNSPATH = . dfa .. ../dfa $ALLEGRO_SITE/dfaset NCDPATH = . .. $ALLEGRO_SITE/nclegend $GLOBAL/nclegendset SCRIPTPATH = . $ALLEGRO_SITE/scripts $GLOBAL/scriptset TEXTPATH = . $ALLEGRO_SITE/extracta $GLOBAL/viewsset VIEWPATH = . $ALLEGRO_SITE/viewsset XTALK_TABLE_PATH = . xtalk_tables .. ../xtalk_tables $ALLEGRO_SITE/xtalk $ALIBPATH/xtalk_tables set WIZARD_TEMPLATE_PATH = . $ALLEGRO_SITE/new_templates$ALLEGRO_INSTALL_DIR/pcb_lib/symbols/templateset LDFPATH = .# System Configuration .scf file search pathset SCFPATH = . scfs .. ../scfs# Display the headsup meter in a fixed position in the control panel.set allegro_dynam_timing_fixedpos# For IC Packaging tools (APD and SiP tools), the following defaults the# HUD for the wirebond tools to updating 25 times per second.set wirebond_hud_update_frequency 25# By default, suppress bond wire DRCs that are 3D in nature but being# checked in 2D. By default, the APD/SiP tools will only report wire# violations if they occur over top of the end item (finger or pin) and# the two wires are on different nets.set wirebond_suppress_bondwire_drcs#--------------------------------------------------------------------#--------------------------------------------------------------------# alias# May use function keys F2-F12, most Alpha-numberic keys with control# modifier (although Control - C, V and X are reserved for copy, paste and cut) # and Navigation Keys (Home, Up arrow, Esc, etc.) These items may be modifed# by the following:# Modifier Indicator Example# Shift S SF2# Control C (function keys) CF2# Control ~ (alpha-numeric) ~N# Meta A AF2# Modifiers may be combined. Some examples:# CSF2 Control-Shift F2# ASF2 Meta-Shift F2# CAF2 Control-Meta F2# CASF2 Control-Meta-Shift F2# ~SZ Control-Shift Z# SUp Shift-Up Arrow# CUp Control-Up Arrow## funckey# use the funckey when you wish to have alphanumeric keys operate# like the Function keys when the cursor is in the Allegro canvas.## Example -- following starts the move command without a Enter key# funckey m move#--------------------------------------------------------------------# Bind roam operations to function keysset roamInc = 96alias Up "roam y -$roamInc"alias Down "roam y $roamInc"alias Left "roam x -$roamInc"alias Right "roam x $roamInc"# Bind incremental pick by grid unit functions to ctrl and shift--arrow keys alias CUp "ipick 0; ipick_to_gridunit 0 +1"alias CDown "ipick 0; ipick_to_gridunit 0 -1"alias CLeft "ipick 0; ipick_to_gridunit -1"alias CRight "ipick 0; ipick_to_gridunit +1"alias SUp "move; ipick_to_gridunit 0 +1"alias SDown "move; ipick_to_gridunit 0 -1"alias SLeft "move; ipick_to_gridunit -1"alias SRight "move; ipick_to_gridunit +1"#--------------------------------------------------------------------# F1 is normally reserved by the system for Help so we don't use italias F2 donealias F3 add connectalias F4 cancelalias F5 show elemenalias F6 add connectalias F7 vertexalias F8 zoom pointsalias F9 zoom fitalias F10 zoom inalias F11 zoom outalias F12 property editfunckey + subclass -+ funckey - subclass -- alias SF2 property edit alias SF3 slidealias SF4 show measure alias SF5 copyalias ~E movealias SF7 dehilight all alias SF8 hilight pick alias SF9 vertexalias SF10 save_as temp alias SF11 zoom previous alias Esc oopsalias Pgup zoom inalias Pgdown zoom out alias Insert Define grid alias Home Zoom fitalias Del Deletealias End redisplayalias ~Z nextalias ~F mirroralias ~R angle 45alias SF12 zoom world alias CF2 nextalias CF5 color192alias CF6 layer priority alias CSF5 statusalias ~N newalias ~O openalias ~S savealias ~D deletealias ~Z undofunckey + subclass -+ funckey - subclass --#--------------------------------------------------------------------# OTHER ALIASESalias edps padeditalias rps "replace padstack"alias unplrp report unplacedalias x pickalias y pick lalias ix ipickalias iy ipick 0alias reopen 'open -q $module'alias revert 'open -q $module'# autoroamalias sar set pcb_autoroamalias uar unset pcb_autoroamalias reopen 'open -q $module'alias bubset 'settoggle shove_mode Off "Hug preferred" "Shove preferred"; options bubble_space $shove_mode'alias ~B bubsetalias smoothset 'settoggle smooth_mode Off Minimal Full; options smooth_level $smooth_mode' alias ~C smoothset#--------------------------------------------------------------------# COMMAND DEFAULTS# allow slide to work on arcs by defaultset slide_arcs# Compatibility aliasesalias window zoomalias hilite hilightalias dehilite dehilightalias pickx pickalias picky pick lalias ipickx ipickalias ipicky ipick 0alias cdnshelp cdsdoc#--------------------------------------------------------------------# MOUSE WHEEL SUPPORT (Windows only)# Environment Variables - Note quote variables so they are evaluated# at button time not when this file is read.# - _wheelcnt variable is set based upon number of detents wheel moved# range is -4 to 4 (no 0)# - sx1 and sy1 are cursor coordinates when wheel is moved## Button values# wheel_up: when wheel is moved up# wheel_down: when wheel is moved down# wheel: up/down if either of above 2 buttons are not assigned## Keyboard modifiers (note we are case insensitive)# S - shift key# C - control key# SC - shift and control# Example: SCwheel - for wheel button assignment with both shift & control keys ## Button factor may be factorion (e.g. 0.5) set buttonfactor = 1button wheel_up "zoom in $buttonfactor" button wheel_down "zoom out $buttonfactor" button Cwheel_up "zoom in $buttonfactor" button Cwheel_down "zoom out $buttonfactor"source -q $ALLEGRO_SITE/site.env。