小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

Allegro使用Script錄制快捷鍵,提高操作效率

 大海無垠 2011-01-12

在layout過程中經(jīng)常要設(shè)置一些參數(shù)或重復(fù)執(zhí)行某些操作,如設(shè)置單位、顏色、查看Unconnected Pins Report等,每次都點(diǎn)來點(diǎn)去很浪費(fèi)時(shí)間。所幸Allegro提供了Script功能,可以將這些操作錄制成腳本,需要執(zhí)行相應(yīng)操作時(shí)Replay對應(yīng)的腳本即可。

1. 腳本錄制。File?Script。輸入腳本名稱my script,點(diǎn)Record之后窗口會(huì)消失進(jìn)行腳本錄制,在Allegro中所執(zhí)行的操作都會(huì)被錄下來,然后再File?Script?Stop。腳本錄制后保存在當(dāng)前brd所在目錄,擴(kuò)展名為 .scr。

2. Replay腳本。 File?Script?Browse,選擇腳本,Replay?;蛘咴贑ommand窗口輸入:replay **.scr

雖然腳本大大加快了操作速度,但是每次Replay還是有些慢??梢詫eplay腳本的命令定義到快捷鍵上。

1. Setup?User Preferences?Config_paths?Scriptpath,設(shè)置Scriptpath,將錄制的腳本放到該目錄下。

 2. 定義快捷鍵。打開home目錄下pcbenv目錄下env,(找不到即搜索該文件夾),添加快捷鍵。

alias gerber replay gerber.scr

 運(yùn)行Allegro,在command窗口輸入gerber回車即可。
 
 

# F1 is normally reserved by the system for Help so we don't use it
alias F12 toggle
alias F11 zoom out
alias F10 zoom in
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'

    本站是提供個(gè)人知識管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多