For running skill files, is there any way to run skill files from one location.
currently I have to copy skill file in my working dir and then I load it and then I am able to run it.
actually I want to make aliases for skills which we use frequently, when I make script of loading skill file and asign it in aliases it is not working because it needs to have skill file in the working dir. I dont want to copy skill files in my working dir.
If any one knows please tell me the procedure.
Thanx & Regards
This is indeed possible. I would recommend that you read the readme.txt file in %CDSROOT%\share\local\pcb
Also read the example.ilinit in %CDSROOT%\share\local\pcb\skill
The easiest way of doing this is to take the example.ilinit file from <cdsroot>/share/local/pcb/skill and copy it your <HOME>/pcbenv directory naming it allegro.ilinit. Then take all your Skill files and place them in <HOME>/pcbenv. The next time you start Allegro, it will load all the skill files (.il extension) in the pcbenv directory. This method will work with all tiers of Allegro even L.
If you offer Allegro from a central server then you can do the same thing for all your users by renaming example.ilinit to allegro.ilinit in the <cdsroot>/share/local/pcb/skill directory and placing your skill files in this directory. You can relocate this shared location outside the Cadence hieararchy by reading about CDS_SITE in the documentation. This "local" location will not be updated when loading Cadence patches.
In either case, this assumes your Skill code is function based with axlCmdRegister calls to register the Skills functions as Allegro commands. You can write your skill code non-function based (similar to Allegro scripting). Non-function based skill code executes the skill code (doing database changes and/or UI work) everytime you load the skill file. Non-function based skill code should not be loaded via the allegro.ilinit method.
Thanks for your detailed answers. Its working now.
Stumped.....What am I doing wrong?
I have my HOME variable set to C:\Cadence
I have a C:\Cadence\pcbenv folder
I have a allegro.ilinit file in the \pcbenv folder
Here are the contents of the allegro.ilinit file:
; DstCAM350() is the CAM350 Cross Probe Startup
all of the skill files are in the mapped network folder V:\allegro\skill
Why isn't this working?
You got the "wrong" slashes bud, UNIX and other scripting languages go the "other" way, you need to have things like:
Since all the "stuff" is in V:/allegro/skill, you might want to get the allegro.ilinit to autoload from there, that way you can "just" add anothe script to the directory and not hack the allegro.ilinit every time.