Home
  • Products
  • Solutions
  • Support
  • Company

This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  • Products
  • Solutions
  • Support
  • Company
Community PCB Design & IC Packaging (Allegro X) Allegro X Scripting - Skill DOES ALLEGRO FREE PHYSICAL VIEWER SUPPORT SKILL? (Ver 17...

Stats

  • State Suggested Answer
  • Replies 8
  • Answers 1
  • Subscribers 15
  • Views 5557
  • Members are here 0
More Content

DOES ALLEGRO FREE PHYSICAL VIEWER SUPPORT SKILL? (Ver 17.2)

Debby
Debby over 2 years ago

Hi all,

I am trying to use Skill in free viewer 17.2.

I knew Skill function is not available in free viewer normally but there was a post of a workaround by adding skill code in allegro.ilinit

https://community.cadence.com/cadence_technology_forums/pcb-design/f/pcb-editor-skill/19795/does-allegro-free-physical-viewer-support-skill

However, it still failed. 

Here is my code in "allegro.ilinit"

###

axlCmdRegister("c_layer" 'c_layer ?cmdType "interactive")
mySkillFunction.autoload = "c_layer.il"

###

Can anyone help on it? Thanks!

  • Sign in to reply
  • Cancel
  • eDave
    0 eDave over 2 years ago

    That should work if everything is in the correct path.

    You probably don't need autoload. You could just use

    load("c_layer.il")

    Try including the path.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Debby
    0 Debby over 2 years ago in reply to eDave

    Hi Dave,

    Both files ("allegro.ilinit" and "c_layer.il") are under path "C:\SPB_Data\pcbenv".

    I've modified "allegro.ilinit" as below, but still failed:

    axlCmdRegister("c_layer" 'c_layer ?cmdType "interactive")

    load("c_layer.il")

    Here is the code in "c_layer.il":

    defun(c_layer (@optional (layer ""))

    ...

    );end defun

    And this is the error message in allegro:

    Command > c_layer 1

    E- Command not found: c_layer 1

    Could you tell what the problem is? Thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • eDave
    0 eDave over 2 years ago in reply to Debby

    Your Skill files should be in the skill folder under the folder defined in your allegro_site variable.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Debby
    0 Debby over 2 years ago in reply to eDave

    Hi Dave,

    My allegro_site = C:/XXX/Cadence Design Systems/17.2/share/local/pcb

    It still failed after I put "c_layer.il" under allegro_site.

    Sorry I'm a beginner of allegro. Could you guide me with more detail? Maybe an example? Thank you!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • eDave
    0 eDave over 2 years ago in reply to Debby

    Hi Debby.

    No problem. We were all beginners once!

    Create folder: C:/XXX/Cadence Design Systems/17.2/share/local/pcb/skill

    Put your skill code in there. That should work.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • 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.

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

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