• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. PCB Design
  3. Skill files location

Stats

  • Locked Locked
  • Replies 15
  • Subscribers 165
  • Views 26110
  • Members are here 0
More Content
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Skill files location

pakistan
pakistan over 17 years ago

Hi,

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

Tanveer

  • Cancel
  • eDave
    eDave over 13 years ago
    No. You need to register a command using axlCmdRegister and use the registered command. I also prefer to use the autoload feature in my allegro.ilinit to avoid loading all my Skill applications until they are needed.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • oldmouldy
    oldmouldy over 13 years ago

    You definitely want to use %HOME%\pcbenv as your allegro.ilinit location for a default location. It used to be possible to move this around with the "skillpath" but I don't think that is a clever move in later releases. Add some debug messages to your allegro.ilinit:

    printf("Start Loading Skill files:")

    at the top of the file,

    printf("Done Loading Skill files.)

    at the bottom of the file and save the modified file.

    If nothing else, you should see the messages printed at the PCB Editor Command Window after PCB Editor starts. If you don't see the messages, PCB Editor did not process the allegro.ilinit, probably because it didn't find it!

    I think I would prefer to use the default HOME of "C:\SPB_Data", rather than "C:\Cadence" but this might make no difference.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Boma
    Boma over 13 years ago

    padmaster,

    You should not need the full path to the skill files in the allegro.ilinit file.  Just use

    load(" clinecut.il")    or

    (load "clinecut.il")     works also. 

    As long as your allegro.ilinit file is in your pcbenv directory it should read it as long as you are not using the old format.  If you are in 16.5 or higher open a design and do User Preferences,  then do a search on skill and read what it says for skill_old_init.  Make sure it is not checked.  See if that works........

    Boma 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • padmaster
    padmaster over 13 years ago

    Ok, so I was able to find enough info on COS to get the skill files to load. According to the doc I read, allegro.ilinit should be in the pcbenv folder. The path to the skill files MUST use the /.

    Here is the contents of the allegro.ilinit file:

    setSkillPath(buildString(append1(getSkillPath() "V:/allegro/skill")))

    load("align_sym.il")

    load("autosilkUtils.il")

    load("clinecut.il")

    load("jbhEditBoard.il")

    load("replace_via.il")

    load("rm_nc_via.il")

    load("scalpel.il")

    load("shape_push.il")

    load("strip_bad_fillet_props.il")

    load("set_refdes.il")

    load("cwidth.il")

    load("autosize.il")

    load("Create_Thermal_Flash.il")

    load("hl_ntp.il")

    ; DstCAM350() is the CAM350 Cross Probe Startup

    load("C:/Cadence\\pcbenv\\DstCxi.il")

    println("allegro.ilinit file loaded")

     

    So I start allegro and it reports that the allegro.ilinit file was loaded.

    Then I type:

    Command > replace via
    Enter selection point
    Loading axlcore.cxt
    Command >

    Allegro is now in the "replace via" command mode.

    I draw a box around the vias I want to replace and the "new padstack name" dialog box appears.

    I type in the new padstack name and click OK.

    Allegro reports "619 vias replaced".

    But they are not replaced!!!!!

    UGH!!!!!

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mcatramb91
    mcatramb91 over 13 years ago

    Hello,

    There are two variations of the Skill code floating around.  I believe the one you are using is causing the issue when mistyping the New Padstack name or if the padstack does not exist in the design already.

    Attached is the Skill code that I have been using for a very long time which does not present this issue (replace_update_via.il).  After loading the "replace_update_via.il" Skill code, any mistype of the New Padstack Name will report that it cannot be found and to please check the name.  If the padstack does not existing in the design it will retrieve it from the library.

    Please give this Skill code a try. (replace_update_via.zip)

    Hope this helps,
    Mike Catrambone

    replace_update_via.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
<
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information