如何解决allegro16 3的stroke不能用的问题
2015-12-07
展开全部
Allegro 16.3 Stroke用法(曾经试过) 1、创建allegro stroke Tool————>Utilities————>Stroke Editor.... 然后保存到SPB_Data\pcbenv(安装环境变量路径) 下文件名为allegro.stroke 2、不能使用stroke: a、16.3里设置了STROKE EDITOR也没有用的话需做一下下面这个动作才行. SETUP-User Preferences... UI-input-勾选no_drapopup这项就可以了. b:在PCBevn目录下的Allegro.ilinit(如果没有Allegro.ilinit这个文件可以自己建立)文件最后加上: procedure(stroke_fix_163(t_open) axlShell("strokefile allegro") axlMsgPut("Strokes now enabled in Allegro 16.3 base release") ) axlTriggerSet('open 'stroke_fix_163) 重启软件
展开全部
用文字编辑器打开x:\Cadence\SPB_16.2\share\local\pcb\skill\example.ilinit,建议不要用记事本打开,因为记事本打开会有很多的小方块,具体内容如下:
;
; This example file shows how to load Skill files (those with the
; extension ".il" in the current directory.
; To use copy to allegro.ilinit if to be used by all Allegro based programs
; or .ilinit if intended for only one program
;
; SetTIng Allegro environment variable, LoadSkillFilesDebug will turn
; on prinTIng the name of each file as it is loaded.
unless(boundp('LoadSkillFilesDebug)
LoadSkillFilesDebug = axlGetVariable("LoadSkillFilesDebug"))
when(LoadSkillFilesDebug printf("\n"))
(foreach file (rexMatchList "\\.il$" (getDirFiles "."))
when(LoadSkillFilesDebug printf("Loading Skill file: %s\n" file))
(load strcat("./" file))
)
; Load any ini files (containing axlCmdRegister)
(foreach file (rexMatchList "\\.ini$" (getDirFiles "."))
when(LoadSkillFilesDebug printf("Loading Skill file: %s\n" file))
(load strcat("./" file))
)
when(LoadSkillFilesDebug printf("\n"))
在文件的末尾加上,
procedure(stroke_fix_163(t_open)
axlShell("strokefile allegro")
axlMsgPut("Strokes now enabled in Allegro 16.3 base release") )
axlTriggerSet('open 'stroke_fix_163)
然后另存为Allegro.ilinit,存盘路径是pcbenv文件夹下。
;
; This example file shows how to load Skill files (those with the
; extension ".il" in the current directory.
; To use copy to allegro.ilinit if to be used by all Allegro based programs
; or .ilinit if intended for only one program
;
; SetTIng Allegro environment variable, LoadSkillFilesDebug will turn
; on prinTIng the name of each file as it is loaded.
unless(boundp('LoadSkillFilesDebug)
LoadSkillFilesDebug = axlGetVariable("LoadSkillFilesDebug"))
when(LoadSkillFilesDebug printf("\n"))
(foreach file (rexMatchList "\\.il$" (getDirFiles "."))
when(LoadSkillFilesDebug printf("Loading Skill file: %s\n" file))
(load strcat("./" file))
)
; Load any ini files (containing axlCmdRegister)
(foreach file (rexMatchList "\\.ini$" (getDirFiles "."))
when(LoadSkillFilesDebug printf("Loading Skill file: %s\n" file))
(load strcat("./" file))
)
when(LoadSkillFilesDebug printf("\n"))
在文件的末尾加上,
procedure(stroke_fix_163(t_open)
axlShell("strokefile allegro")
axlMsgPut("Strokes now enabled in Allegro 16.3 base release") )
axlTriggerSet('open 'stroke_fix_163)
然后另存为Allegro.ilinit,存盘路径是pcbenv文件夹下。
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询