Home > Community > Forums > PCB Design > How to start Skill in Orcad PCB editor 16.2

## Email

Recipients email * (separate multiple addresses with commas)

Message *

 Send yourself a copy

## Subscribe

Intro copy of the newsletter section here, some intro copy of the newsletter. Instruction of how to subscribe to this newsletter.

First Name *

Last Name *

Email *

Company / Institution *

 Send Yourself A Copy

# How to start Skill in Orcad PCB editor 16.2

Last post Fri, Jun 5 2009 4:58 AM by Ejlersen. 13 replies.
 Started by Prasanna 26 May 2009 03:54 AM. Topic has 13 replies and 10551 views
• #### Tue, May 26 2009 3:54 AM

• Prasanna
• Joined on Thu, Oct 16 2008
• Bangalore, Karnataka
• Posts 71
• Points 1,690
How to start Skill in Orcad PCB editor 16.2
 Hi All,I am using Orcad PCB editor 16.2.  I not getting how to start/load  skill files to PCB editor. I searched in community but things are not clear to me. As per some suggestion I will have to change " allegro.ilinit" file in " pcbenv " folder under installed diretory. But I am not getting allegro.ilinit file and even the "pcbenv" folder.  I found one " env " file under C:\OrCAD\OrCAD_16.2\share\pcb\text\  path. Is there any thing to change with that? Pls let me know what are the setting I need to do ? I got one allegro.ilinit file from the forum, but where to paste that file. I have no idea about this. Pls give me your valuable guidance.Thanks,Prasanna Hegde
• Post Points: 50
• #### Tue, May 26 2009 6:29 AM

• steve
• Joined on Fri, Jul 18 2008
• Woking, Surrey
• Posts 1,163
• Points 18,900
Re: How to start Skill in Orcad PCB editor 16.2
 Have a look at your computer settings for HOME. (On XP RMB My computer - properties - advanced - environment variables. If not set create a user variable called HOME = C:\yourdirectory name. This is where Orcad will create a pcbenv directory. Put your env, skill and allegro.ilinit here. Then try again.
• Post Points: 5
• #### Tue, May 26 2009 7:57 PM

• C Shiva
• Joined on Tue, Jul 15 2008
• Bangalore, Karnataka
• Posts 165
• Points 3,440
Re: How to start Skill in Orcad PCB editor 16.2
 Hi Prasanna,   The "pcbenv" folder may be located at your C:\OrCAD or C:\OrCAD\OrCAD_16.2 folder. Create a file here and rename it as "allegro.ilinit". Save your skill file name here as "load ". Restart your tool and type the new command at Command console window.HTH Regards, Shiva.
• Post Points: 5
• #### Tue, May 26 2009 9:36 PM

• Prasanna
• Joined on Thu, Oct 16 2008
• Bangalore, Karnataka
• Posts 71
• Points 1,690
Re: How to start Skill in Orcad PCB editor 16.2
 Shiva, thanks for reply..still  I am confused due to some things.  When I searched in forum I got  allegro.ilinint file :::::::  in this I changed the path for skill files where I saved all in one folder. Then I started the tool and it was showing  like    ".....  .il file redefined " . I tried to type that command but got error command is not exist.Then I tried what you told. finally I got pcbenv folder in local documents directory and loaded what you said.   here is few file i tried.    I removed old alegro.ilinit file what i mentioned above, but still its trying to read same path it seems its giving error. How  does it take the path if we mentioned only file name in .ilinit file?pls clarify my doubts..Thanks,Prasanna Hegde
• Post Points: 20
• #### Wed, May 27 2009 2:46 AM

• steve
• Joined on Fri, Jul 18 2008
• Woking, Surrey
• Posts 1,163
• Points 18,900
Re: How to start Skill in Orcad PCB editor 16.2
 Please follow my instructions from earlier and define a HOME property. This is where the pcbenv folder will live. The only other thing to check is when specifying the skill folder path be sure to use c:/folder/skill rather than c:\folder\skill. (it's a unix format).
• Post Points: 20
• #### Mon, Jun 1 2009 6:03 AM

• MAAC
• Joined on Thu, Jul 17 2008
• Bangalore, Karnataka
• Posts 194
• Points 3,600
Re: How to start Skill in Orcad PCB editor 16.2
 Hi,I am trying to run the skill for past few months using Allegro 16.2 but unable to succeed. The steps i followed is:I have created a system variable as ALLEGRO_SITE  with value d:\AllegroSiteSo when i try to invoke the checkWidth in the command prompt of Allegro i get a E-Command not found:checkWidth.I have attached the AllegroSite file. I am able to see the this settings in the variables list of set in the Editor. Plz let me know if i am making any mistake r should i make any settings. Guide me to run any of the skill  Thnx AllegroSite.zip
• Post Points: 20
• #### Tue, Jun 2 2009 2:25 AM

• steve
• Joined on Fri, Jul 18 2008
• Woking, Surrey
• Posts 1,163
• Points 18,900
Re: How to start Skill in Orcad PCB editor 16.2
 I'm not sure how the Allegro_Site works. I know that the system variable HOME does. Once created a pcbenv directory will exist (After running Allegro once). Put the allegro.ilinit file here. Specfy your skill directory inside the ilinit file and put the skill in the same location. Once you restart allegro all the skill files in that directory are auto loaded. Then at the command line type the skill command names.
• Post Points: 5
• #### Tue, Jun 2 2009 9:46 AM

• bulldog
• Joined on Thu, Jul 17 2008
• Cleveland, OH
• Posts 51
• Points 720
Re: How to start Skill in Orcad PCB editor 16.2
 Prasanna, The following was forwarded to me by one of the reps at SourceLink:If you have not explicitly set a HOME variable, the Allegro PCB Editor uses a combination of the HOMEDRIVE and HOMEPATH variables to generate the home directory (HOMEDRIVE:\HOMEPATH) on Windows. If the HOMEDRIVE and HOMEPATH variables do not exist, the editor uses C:\This holds good for Orcad PCB designer. And so on the system which do not have explicit Home Variable set, the Home is created as described in Documentation above. And to check the Home location, you can follow the following steps:1. Open Orcad PCB Designer2. In command area type 'Set' and press Enter 3. It will open the window for 'Defined Variables'4. Scroll down to find 'HOME', 'HOMEDRIVE' and 'HOMEPATH' variables.After finding the HOME variable, check the value for this variable and try to find the PCBENV folder at that location. And store allegro.ilinit file in the similar way as you are doing in Allegro installation.If you still can't find Home/PCBENV then, Allegro.ilinit is read from the following locations:$CDSROOT/share/pcb/etc/skill;$ALLEGRO_SITE/skill;$HOME/pcbenvYou can store allegro.ilinit at any of these locations. (The values for Variables CDSROOT & ALLEGRO_SITE are available in Defined Variableswindow)After doing this you should be able to load Skill code at the startup of Orcad PCB Designer. Hope this helps! • Post Points: 20 • #### Thu, Jun 4 2009 10:50 PM • Prasanna • Joined on Thu, Oct 16 2008 • Bangalore, Karnataka • Posts 71 • Points 1,690 Re: How to start Skill in Orcad PCB editor 16.2  hi,As Steve said, I searched for "pcbenv" and I found that in local Document and setting folder. Then have created allegro.ilinit file.I got a Allegro.ilinit file from this forum only and i copied to my file, that looks like ; This example file shows how to load Skill files (those with the; extension ".il" in the directory within this code.; For this code to work without "careful" modification, place the SKILL routines; in a directory called "SKILL" (uppercase) then edit the path entries to match; the location of this SKILL 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")); Change the path here(foreach file (rexMatchList "\\.il$" (getDirFiles "C:/OrCAD/OrCAD_16.2/share/pcb/etc/SKILL"))when(LoadSkillFilesDebug printf("Loading Skill file: %s\n" file))(load strcat("SKILL/" file))); Load any ini files (containing axlCmdRegister); Change the path here as well(foreach file (rexMatchList "\\.ini\$" (getDirFiles "C:/OrCAD/OrCAD_16.2/share/pcb/etc/SKILL"))when(LoadSkillFilesDebug printf("Loading Skill file: %s\n" file))(load strcat("SKILL/" file)))when(LoadSkillFilesDebug printf("\n")) and one more type as MAAC attached     load("logoMaker_public.il")load("add_symbol.il")load("checkWidth.il")I copied allegro.ilinit file which is like first format I mentioned above and I set path for skill folder. I moved all skill files in that folder and started Orcad PCb editor 16.2. At the startup in command window it showed as all skill files redefined. I dont know what does it means. And I typed one of the skill file name as a command it gave error that command not found.These are things I followed. Let me know where I am wrong ? Thanks,Prasanna Hegde
• Post Points: 20
• #### Fri, Jun 5 2009 1:12 AM

• steve
• Joined on Fri, Jul 18 2008
• Woking, Surrey
• Posts 1,163
• Points 18,900
Re: How to start Skill in Orcad PCB editor 16.2
 Edit your allegro.ilinit file to replace C:/OrCAD/OrCAD_16.2/share/pcb/etc/SKILL with a directory c:\pcb\skill (or whatever you want to call it). Change both locations in the ilinit file. Then put your skill programs in this directory. Then try again. I suggest changing the directory because if you don't and you install a new hotfix your files will be lost.
• Post Points: 20
• #### Fri, Jun 5 2009 4:22 AM

• Ejlersen
• Joined on Mon, Jul 28 2008
• Aalborg, Copenhagen
• Posts 556
• Points 9,795
Re: How to start Skill in Orcad PCB editor 16.2
• Post Points: 20
• #### Fri, Jun 5 2009 4:35 AM

• Prasanna
• Joined on Thu, Oct 16 2008
• Bangalore, Karnataka
• Posts 71
• Points 1,690
Re: How to start Skill in Orcad PCB editor 16.2
 Ole,Thank you very much.... I will give a try.But which format allegro.ilinit should I use ?.  As I mentioned earlier  first one or second one ?However, my system got some error, I will try when it's fixed and let you know. Thanks,Prasanna hegde
• Post Points: 20
• #### Fri, Jun 5 2009 4:57 AM

• Ejlersen
• Joined on Mon, Jul 28 2008
• Aalborg, Copenhagen
• Posts 556
• Points 9,795
Re: How to start Skill in Orcad PCB editor 16.2
 HiI would go for the format that I uploaded, it automatically loads all skill files in c:\cadence\setup\skill instead of you having to write all those LOAD lines. Best regardsOle Best regards Ole
• Post Points: 5
• #### Fri, Jun 5 2009 4:58 AM

• Ejlersen
• Joined on Mon, Jul 28 2008
• Aalborg, Copenhagen
• Posts 556
• Points 9,795
Re: How to start Skill in Orcad PCB editor 16.2
 HiBTW, thats also the way it is done using the automatical setup package that you can download and install from slide 4 in the presentation link above.Best regardsOle Best regards Ole
• Post Points: 5