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