E:\workspace\SPB_Data\pcbenv\envthis
source $TELENV
funckey ~1 "replay grid_1mil"
funckey ~5 "replay grid_5mil"
funckey ~2 "replay grid_0_5mm"
funckey ~3 "replay grid_0_33mm"
funckey ~6 "replay grid_0_33mm_off_0_165mm"
funckey ~4 "replay grid_0_4mm"
### 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 padpath = ./ E:/workspace/SPB_Data/ $padpath
set psmpath = $psmpath E:\workspace\SPB_Data\
set allegro_dynam_timing = on
set allegro_etch_length_on
set schematic_editor = capture
set logic_edit_enabled
unset disable_opengl
set pcb_cursor = infinite
set scriptpath = $scriptpath E:\workspace\SPB_Data\pcbenv\
env文件中,funckey爲快捷鍵定義,這裏是定義ctrl+1-6爲調用幾個預約義的宏,「grid_5mil」等爲宏文件的名字,我這裏的路徑爲E:\workspace\SPB_Data\pcbenv\spa
必定要記得設置scriptpath,省得找不到宏文件code
grid_0_33mm_off_0_165mm.scrorm
version 16.5 setwindow pcb trapsize 107 generaledit define grid generaledit setwindow form.grid FORM grid all_etch all_etch_x_grids 13.12 FORM grid all_etch all_etch_y_grids 13.12 FORM grid all_etch all_etch_x_offset 6.56 FORM grid all_etch all_etch_y_offset 6.56 FORM grid done setwindow pcb
宏文件是用allegro的宏錄製功能生成的,不過知道格式後,本身寫就是了blog