Allegro的控制台命令使用介绍,很详细的

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

allegro控制台命令
控制台命令
File (1)
Edit (4)
View (6)
Add (7)
Display (8)
Setup (9)
Layout (11)
V oid (12)
Shape (12)
Logic (13)
Place (14)
Route (16)
Analyze (17)
Manufacture (19)
Tools (21)
Help (22)
如何设置allegro的快捷键 (23)
File
File-New
new
File-Open
open
File-Save
save
File-Save As
save_as
File-Create Symbol
create symbol (in Symbol Editor only)
File-Import-Logic
netin param
File-Import-Artwork load photoplot
File-Import-Stream
load stream
File-Import-IPF
load plot
File-Import-DXF
dxf in
File-Import-IDF
idf in
File-Import- IFF
iff in
File-Import-SPECCTRA specctra in
File-Import-Redac redac in
File-Import-Visula visula in
File-Import-PADS
pads in
File-Import-PCAD
pcad in
File-Import-Sub-Drawing clppaste
File-Import-Techfile techfile in
File-Import-Active Times signal atimes
File-Import-Placement
plctxt in
File-Annotations
annotation in
File-Export-Logic
feedback
File-Export-Netlist w/Properties netout
File-Export-IPF
create plot
File-Export-DXF
dxf out
File-Export-IDF
idf out
File-Export-SPECCTRA specctra_out
File-Export-Sub-Drawing clpcopy
File-Export-Libraries
dlib
File-Export-Techfile
techfile out
File-Export-Placement
plctxt out
File-Export-Annotations annotation out
File-Export-IPC 356
ipc356 out
File-Export-Valor ODB ++ inside odb_out
File-Export-Save design to 14.0 downrev
File-Viewlog
viewlog
File-File Viewer
No corresponding command
File-Plot Setup
plot setup
File-Plot Preview (Windows NT only) plot preview
File-Plot
plot
File-Properties
file_property
File-Change Editor
toolswap
File-Script
script
File-Exit
exit
Edit
Edit-Move
move
Edit-Copy
copy
Edit-Mirror
mirror
Edit-Spin
spin
Edit-Change
change
Edit-Delete
delete
Edit-Shape
shape edit
Edit-Z-Copy
zcopy shape
Edit-Delete Unconnected Shapes delete unconnected
Edit-Split Plane-Parameters split plane params
Edit-Split Plane-Create
split plane create
Edit-Split Plane-Locate Islands locate islands
Edit-Compose Shape compose shape
Edit-Decompose Shape decompose shape
Edit-Vertex
vertex
Edit-Delete Vertex
delete vertex
Edit-Boundary (Shape editor only) boundary
Edit-Change Net (Pick) (Shape editor only) changenet pick
Edit-Change Net (Name) (Shape editor only) changenet name
Edit-Text
text edit
Edit-Chamfer (in Designer and Studio series) draft chamfer
Edit-Fillet (in Designer and Studio series) draft fillet
Edit-Groups
groupedit
Edit-Properties
property edit
View
View-Zoom By Points
zoom points
View-Zoom Fit
zoom fit
View-Zoom In
zoom in
View-Zoom Out
zoom out
View-Zoom World
zoom center
View-Zoom Center
zoom center
View-Zoom Previous
zoom previous
View-Color View Save colorview create
View-Color View Restore Last colorview restore
View-Refresh
No corresponding command
View-Customization-Display display param
View-Customization-Toolbar No corresponding command
Add
Add-Line
add line
Add-Arc w/Radius
add rarc
Add-3pt Arc
add arc
Add-Circle
add circle
Add-Rectangle
add rect
Add-Frectangle
add frect
Add-Text
add text
Add-Shapes-Solid Fill
add fshape
Add-Shapes-Unfilled
add ufshape
Add-Shapes-Cross Hatch Fill add xshape
Display
Display-Color/Visibility color
Display-Color Priority
color priority
Display-Element
show element
Display-Measure
show measure
Display-Parasitic
show parasitic
Display-Property
show property
Display-Highlight
hilight
Display-Dehighlight
dehilight
Display-Show Rats-All
rats all
Display-Show Rats-Components rats component
Display-Show Rats-Net
rats net
Display-Blank Rats-All
unrats all
Display-Blank Rats-Components unrats component
Display-Blank Rats-Nets unrats net
Setup
Setup-Drawing Size
drawing param
Setup-Drawing Options
status
Setup-Text Sizes
define text
Setup-Grids
define grid
Setup-Subclasses
define subclass
Setup-Cross-section
define xsection
Setup-Vias-Define B/B Via
define bbvia
Setup-Vias-Auto Define B/B Via
auto define bbvia
Setup-Constraints
cns
Setup-Electrical Constraint Spreadsheet cmgr
Setup-Property Definitions
define property
Setup-Define Lists
define list
Setup-Areas-Package Keepin
keepin package
Setup-Areas-Package Keepout keepout package
Setup-Areas-Package Height package_height
Setup-Areas-Route Keepin
keepin router
Setup-Areas-Route Keepout
keepout router
Setup-Areas-Via Keepout
Setup-Areas-Probe Keepout
keepout probe
Setup-Areas-Gloss Keepout
keepout gloss
Setup-Areas-Photoplot Outline
keepin photo
Setup-User Preferences
env editor
Layout
Layout menu selections are available only in the Symbol Editor
Layout-Pins
add pin
Layout-Connections
add connect
Layout-Slide
slide
Layout-Labels-RefDes
label refdes
Layout-Labels-Device
label device
Layout-Labels-Value
label value
Layout-Labels-Tolerance
Layout-Labels-Part Number
label part
Void
V oid menu selections are available only in the Shape Editor
V oid-Shape
void shape
V oid-Circle
void circle
V oid-Element
void element
V oid-Auto
void all
Shape
Shape menu selections are available only in the Shape Editor
Shape-Parameters
shape param
Shape-Check
shape check
Shape-Fill
shape fill
Logic
Logic-Net Logic
net logic
Logic-Net Schedule
net schedule
Logic-Assign Differential Pair
diff pairs
Logic-Identify DC Nets
identify nets
Logic-Assign RefDes
assign refdes
Logic-Auto Rename RefDes-Rename rename param
Logic-Auto Rename RefDes-Design rename area design
Logic-Auto Rename RefDes-Room rename area room
Logic-Auto Rename RefDes-Window rename area window
Logic-Auto Rename RefDes-List rename area list
Logic-Change Parts
partedit
Logic-Terminator Assignment ecl param
Place
Place-Manually
place manual
Place-Quickplace quickplace
Place-SPECCTRA
specctra
Place-Autoplace-Insight place insight
Place-Autoplace-Parameters place param
Place-Autoplace-Top Grids place set topgrid
Place-Autoplace-Bottom Grids place set bottomgrid
Place-Autoplace-Design place area design
Place-Autoplace-Room
place area room
Place-Autoplace-Window place area window
Place-Autoplace-List place area list
Place-Interactive
place interactive
Place-Swap-Pins
swap pins
Place-Swap-Functions swap functions
Place-Swap-Components swap components
Place-Autoswap-Parameters swap param
Place-Autoswap-Design swap area design
Place-Autoswap-Room swap area room
Place-Autoswap-Window swap area window
Place-Autoswap-List swap area list
Place-Evaluate-Parameters eval param
Place-Evaluate-Design eval area design
Place-Evaluate-Room
eval area room
Place-Evaluate-Window eval area window
Place-Evaluate-List
eval area list
Place-Update Symbols
refresh symbol
Place-Replace SQ Temporary-Devices replace temp_device
Place-Replace SQ Temporary-Symbols replace temp_symbols
Route
Route-Connect
add connect
Route-Slide
slide
Route-Custom Smooth
custom smooth
Route-SPECCTRA-Run Router Checks specctra checks
Route-SPECCTRA-Route by Pick route_by_pick
Route-SPECCTRA-Route Automatic auto_route
Route-SPECCTRA-Interactive Editor specctra
Route-Gloss-Parameters
gloss param
Route-Gloss-Design
gloss area design
Route-Gloss-Room
gloss area room
Route-Gloss-Window
gloss area window
Route-Gloss-Highlight
No corresponding command
Route-Gloss-List
gloss area list
Route-Testprep-Auto testpreop param
Route-Testprep-Create Probe probe create
Route-Testprep-Delete Probe probe delete
Route-Testprep-Swap Probe probe swap
Route-Testprep-NC Tape Probes nctape
Analyze
Analyze-SI/EMI Sim-Initialize signal init
Analyze-SI/EMI Sim-Library signal library
Analyze-SI/EMI Sim-Model
signal model
Analyze-SI/EMI Sim-Model Dump/Refresh signal model refresh
Analyze-SI/EMI Sim-Preferences
signal prefs
Analyze-SI/EMI Sim-Audit-
Design Audit
signal audit
Analyze-SI/EMI Sim-Audit-
Net Audit
signal audit net
Analyze-SI/EMI Sim-Audit-
Audit One Library
signal lib audit
Analyze-SI/EMI Sim-Audit-
Audit List of Libraries
signal libs audit
Analyze-SI/EMI Sim-Probe
signal probe
Analyze-SI/EMI Sim-Xtalk Table
signal xtalktable
Analyze-EMI Rules-Initialize
signal eminit
Analyze-EMI Rules-Auto Setup
signal emiautopropmain
Analyze-EMI Rules-Manual Setup
signal emimanualpropmain
Analyze-EMI Rules-Rule Select
signal emiruleselect
Analyze-EMI Rules-Audit
signal emiverify
Analyze-EMI Rules-Execute
signal emiexecute
Analyze-EMI Rules-Results
signal emiresults
Analyze-EMI Rules-Audit Report
signal emiverifyreport
Analyze-EMI Rules-Execute Report
signal emiexecutereport
Manufacture
Manufacture-Dimension/Draft commands in the Layout Editor are accessed under the Dimension menu item in the Symbol Editor
Manufacture-Dimension/Draft-Parameters
draft param
Manufacture-Dimension/Draft-LineFont
linefont
Manufacture-Dimension/Draft-Linear Dim
dimension linear
Manufacture-Dimension/Draft-Datum Dim
dimension datum
Manufacture-Dimension/Draft-Angular Dim
dimension angular
Manufacture-Dimension/Draft-Leader Lines
leader only
Manufacture-Dimension/Draft-
Diametral Leader
leader diametral
Manufacture-Dimension/Draft-Radial Leader leader radial
Manufacture-Dimension/Draft-
Balloon Leader
leader balloon
Manufacture-Dimension/Draft-
Chamfer Leader
leader chamfer
Manufacture-Dimension/Draft-Chamfer draft chamfer
Manufacture-Dimension/Draft-Fillet
draft fillet
Manufacture-Dimension/Draft-Create Detail create detail
Manufacture-Artwork
film param
Manufacture-Stream Out
stream out
Manufacture-NC-Drill Parameters
ncdrill param
Manufacture-NC-Drill Legend
ncdrill legend
Manufacture-NC-Drill Tape
nctape_full
Manufacture-NC-Route
ncroute
Manufacture-Cut Marks
cut marks
Manufacture-DFA Check
dfa
Manufacture-Create Coupons
create coupons
Manufacture-Silkscreen
silkscreen param
Manufacture-Variants-Create Assembly Drawing variant assembly
Manufacture-Variants-Create Bill of Materials variant bom
Tools
Tools-Create Module
create module
Tools-Padstack-Modify Design Padstack padeditdb
Tools-Padstack-Modify Library Padstack padeditlib
Tools-Padstack-Replace
replace padstack
Tools-Padstack-Group Edit
multpadedit
Tools-Padstack-Refresh
refresh padstack
Tools-Pad-Boundary
editpad boundary
Tools-Pad-Restore
editpad restore
Tools-Pad-Restore ALL editpad restore all
Tools-Silkscreen
silkscreen param
Tools-Derive Connectivity derive connectivity
Tools-Reports
reports
Tools-Technology File Compare techfile compare
Tools-Setup Advisor
setup advisor
Tools-Database Check dbcheck
Tools-Update DRC
drc update
Help
Help-Allegro Help
help
Help-Product Notes
No corresponding command
Help-Known Problems and Solutions
No corresponding command
Help-Web Resources-Sourcelink
No corresponding command
Help-Web Resources-Education
No corresponding command
Help-Web
No corresponding command
Help-Manuals
cdsdoc
Help-Design Flow
No corresponding command
Help-About Allegro
No corresponding command
如何设置allegro的快捷键
2010-01-24 00:21如何设置allegro的快捷键(ZT)
修改变量文件,设置自定义快捷键。

Allegro可以通过修改env文件来设置快捷键,这对于从其它软件如protle或PADS迁移过来的用户来说,可以沿用以前的操作习惯,还是很有意义的。

先说一下Allegro的变量文件,一共有2个,一个是用户变量,一个是全局变量。

用户变量文件的位置,通过系统环境变量设置:系统属性-高级-环境变量,其中的Home值就是env所在目录。

要注意的是,这里也有两个变量,一个是用户变量一个是系统变量,在用户变量里设置了Home之后就不需要在系统变量里再设置了,如果同时设置的话,会以用户变量的为准而忽略系统变量。

比如我在用户变量里设置的Home目录为d:\temp,那么env 文件就位于d:\temp\pcbenv内。

如果没有在系统属性里设置Home变量的路径,那么对于XP,会自动在C:\documents and settings\用户文件夹\pcbenv内产生env文件。

对于2000,pcbenv目录位于C盘根目录下。

全局变量的位置,固定为软件安装目录内,比如我的就是:d:\cadence\spb_15.7\share\pcb\text
内。

通常建议修改用户变量env文件,而不要修改全局变量env文件,至于为什么,我也不知道:)
另外,这2个env文件,用户变量的优先级更高,就是说如果2个文件中的设置出现冲突,那么以用户变量env文件为准。

好了,搞清楚env文件的位置后,我们就可以来修改了。

用户变量env文件,是类似于下面的格式:
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 autosave_time = 15
set autosave
我们要设置的快捷键必须放置在### User Preferences section之前。

设置快捷键指令格式:
alias 快捷键执行的命令
例:alias Del delete
我的部分快捷键:
alias Pgup zoom in
alias Pgdown zoom out
alias End redisplay
alias Insert add connect
alias Home zoom fit
alias Del delete
funckey ‘ ‘ iangle 90
扩展技巧:
关于快捷键可替代的命令,并不仅限于一级菜单中原已有快捷键的命令,对于有多级菜单的命令,比如Display-Show rats-Net(点亮单个网络),我们也可以用快捷键代替:alias F9 rats net。

这个命令"rats net"会在你执行后出现在右下角cmd:的后面。

这样可快捷的命令就随你设置了。

====================================================================== =====
★Allegro中的快捷键设置说明★
首先说明一下环境变量文件(evn文件),环境变量文件有两个,它们分别在系统盘的根目录下的pcbevn目录中(比如系统在C盘,那么evn文件将在c:\pcbevn下)和程序安装路径下(如Cadence 设计系统程序安装在D:\Cadence 下,则evn 文件将在
D:\Cadence\PSD_15.1\share\pcb\text目录下),前者是本地变量文件,后者是全局变量文件(系统自动建立,即为默认设置)。

在本地变量文件中,主要存放的用户参数设置值(Setup->User Preferences..如库文件所在的路径等)。

在全局变量文件中主要描述的是:应用程序的工作路径和系统的快捷键定义等等。

在启动一个应用程序时,应用程序会根据环境变量中的参数进行初始化。

Cadence系统是一个比较开放的系统,它给用户留了比较多的定制空间。

在Allegro中我们可以用alias或funckey命令来定义一个快捷键,以代替常用的设计命令。

要使定义的快捷键产生作用,我们有两种方式来定义:
1、在命令窗口直接定义,但这样定义的快捷键只能在当前设计中使用,如果重新启动设计时,快捷键将会失效。

命令格式如下:
alias shortkey Keyboard Commands
funckey shortkey Keyboard Commands
注意:1)如果直接键入alias或funckey命令然后回车,系统将会弹出所有快捷键列表,这相当于执行Tools->Utilities->Aliases/Function keys..命令。

2)alias命令不能用来定义字母,原因是字母键要用来输入命令行。

但是funckey命令可以用来定义单个字母为快捷键,它比alias命令更为强大,alias能定义的它都能定义,但是字母被定义成某快捷键后,该字母就不能用来输入键盘命令了。

3)Allegro 中的所有键盘命令(Keyboard Commands )列表可以通过执行Tools->Utilities->Keyboard Commands 命令来查看,这些命令都可以设置成快捷键。

2、在本地环境变量文件中直接定义,这样定义的命令将长期有效。

本地的环境变量文件是evn文件(c:\pcbevn),我们可以对它进行编辑。

我们的alias命令可以在第二行开始写(第一行是:source $TELENV),例如我们以前在Protel 或PowerPCB 中常用的放大、缩小命令就可以如下定义:
alias Pgdown zoom out
另外我们经常用alias命令来定义以下几个常用的shortkey:
alias ~R angle 90(旋转90 度)
alias ~F mirror(激活镜相命令)
alias ~Z next(执行下一步命令)
alias End redisplay(刷新屏幕)
alias Del Delete(激活删除命令)
alias Home Zoom fit(全屏显示)
alias Insert Define grid(设置栅格)
下面我们将常用的几个命令或快捷键做一个说明:
一、常用键盘命令在allegro中有很多键盘命令,它是通过键盘输入来激活或执行相关的命令。

键盘
命令基本上包含了大部分的菜单命令。

下面列举几个常用的键盘命令。

1、x 100:Y 坐标不变,X方向移动100 个单位值(以设定的原点为参考点)2、y 100:X 坐标不变,Y方向移动100 个单位值3、x 100 100:移动到(100,100)坐标处pick 命令与上面的x 或y 命令功能相同,只是在执行pick 命令时会弹出一个窗口,输入想要的
坐标值就可以,与上面相对应,pick 命令也提供三种模式:pick 、pickx 和picky 。

4、mirror :激活镜相命令(本命令是先激活,后选择要镜相的对象)。

5、rotate :激活旋转命令(本操作要先选取对象,后执行该命令)6、angle 90: 旋转90 度(本操作要先选取对象,后执行该命令)
二、常用快捷键alias F2 done :结束当前命令alias F3 oops :取消前一次操作alias F4 cancel :取消当前命令alias F5 show element :激活“属性显示”命令alias F6 add connect :执行布线命令alias F7 vertex :激活“增加倒角”命令alias F8 zoom points :点取放大alias F9 zoom fit :满屏显示alias F10 zoom in :放大窗口alias F11 zoom out :缩小窗口alias F12 property edit :激活“属性编辑”命令funckey + subclass -+ :切换到下一层funckey - subclass --:切换到上一层.
# F1 is normally reserved by the system for Help so we don't use it
alias F12 toggle
alias F11 zoom out
alias F9 add connect
alias F8 oops
alias F7 cancel
alias F6 property edit
alias F5 show element
alias F4 pop swap
alias F3 set acon_oldcmd
alias F2 unset acon_oldcmd
alias Del slide
alias Insert custom smooth
alias Home zoom fit
alias End redisplay
alias Pgup rotate
alias Pgdown move
alias ~N new
alias ~O open
alias ~S save
alias ~X cup
alias ~G Define grid
alias ~R show measure
alias ~L mirror
alias ~A save_as
alias ~E change
funckey + subclass -+
funckey - subclass --
#--------------------------------------------------------------------------------------------------- # Script Aliases Description
#--------------------------------------------------------------------------------------------------- alias g.1 "replay gp1" # sets grid to 0.1 mil
alias g.3225 "replay gp3225"
alias g.532 "replay gp532"
alias g.25 "replay gp25"
#--------------------------------------------------------------------
# OTHER ALIASES
alias edps padedit
alias rps "replace padstack"
alias unplrp report unplaced
alias x pick
alias y pick l
alias ix ipick
alias iy ipick 0
alias reopen 'open -q $module'
# autoroam
alias sar set pcb_autoroam
alias uar unset pcb_autoroam
alias reopen 'open -q $module'
alias bubset 'settoggle shove_mode Off "Hug preferred" "Shove preferred"; options bubble_space $shove_mode'
alias ~B bubset
alias smoothset 'settoggle smooth_mode Off Minimal Full; options smooth_level $smooth_mode' alias ~C smoothset
#--------------------------------------------------------------------
# COMMAND DEFAULTS
# allow slide to work on arcs by default
set slide_arcs
# Compatibility aliases
alias window zoom
alias hilite hilight
alias dehilite dehilight
alias pickx pick
alias picky pick l
alias ipickx ipick
alias ipicky ipick 0
source -q $ALLEGRO_SITE/site.env
### 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 autosave_time = 10
set autosave
set scriptpath = C:\pcbenv\scripts
set clippath = .
set devpath = F:\work\cadence\allegro\lib\devices\
set padpath = F:\work\cadence\allegro\lib\pad\
set psmpath = F:\work\cadence\allegro\lib\symbols\
set display_nodynamicarcwidth
set display_nohilitefont
unset display_nolinewidth
unset display_noskeletal_draw
unset bug_solaris_hlt_lines
set display_nocolor_dynamics
unset display_raster_ops
set display_backingstore = on
set display_nosaved_geometry = size
set display_manual_colorpriority
unset display_drcfill
set gloss_pad_shape
unset no_dynamic_zoom
set no_zoom_to_object
set no_dragpopup
set noswapripup
set logic_edit_enabled
unset no_shape_fill
set new_shape_fill_nt
set pcb_cursor = infinite
//===================================================================== ==========
protel老手初学allegro自定义的一些类protel快捷键
嘿嘿,自成为老手估计要被n多人鄙视了,不过好歹用protel也7年了快,不老也不小吧
最近因为项目的需要,必须学习cadence了,硬着头皮看了两天教程了,目前不是很烦allegro 了,hehe
学会了定义快捷键,但是因为不熟悉cadence中的相应命令所以只定义了一点
funckey mm move 移动物体
funckey xa dehilight 取消点亮
funckey sn hilight 点亮
funckey l mirror 镜像放置物体
funckey g Define grid 定义栅格
funckey pl add line 画线(非连接线)
funckey pt add connect 画连接线
funckey ps add text 添加字符
funckey tp color 定义颜色
alias Pgdown zoom out
alias Pgup zoom in
alias Space angle 90 无效???
alias ~Z oops 上一步
alias End redisplay
alias Del Delete
alias Home Zoom fit
alias Esc cancel
funckey rm show measure 显示距离
funckey dk define xsection 定义叠层结构
都是针对protel中习惯的快捷键定义的,还有很多没有定义,例如隐藏所有鼠线nha,但是不知道cadence中隐藏所有鼠线的文字命令是什么所以没法写
类似的显示所有鼠线nsa
在鼠标已有命令的情况下取消所有点亮eea,在cadence中也不知道怎么表示
protel引进网表DN cadence ??
查看plane分割DI ??
修改polygen的边界EMV ??。

还有很多了,protel最大的好处就是键盘快捷命令多而且一幕了然,真希望cadence中能定义到所有的protel命令,这样protel转cadence估计也就是1周的事情了,哈哈,我说的是PCB布线,不包括SI等应用啊
希望大家一起来完善protel到cadence的快捷键转换。

相关文档
最新文档