- 易迪拓培训,专注于微波、射频、天线设计工程师的培养
如何解决allegro16.3的stroke不能用的问题
录入:edatop.com 点击:
用文字编辑器打开x:\Cadence\SPB_16.3\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文件夹下。
真需要,谢谢!
谢谢
有用,收下了,谢谢分享