• 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. Allegro X Scripting - Skill
  3. Command not found when calling a skill function from a ...

Stats

  • Replies 3
  • Subscribers 17
  • Views 10578
  • Members are here 0
More Content

Command not found when calling a skill function from a menu

ttkka
ttkka over 6 years ago

I can run a skill function from the command line but not from a menu.
Running from the menu, I get "command not found: skill_function"

Do I need to do something else so that this function can be seen?
the .il file is placed in the %CDS_SITE%\PCB\skill folder and I have axlCmdRegister("skill function" 'skill_function)

Thanks

  • Cancel
  • Sign in to reply
Parents
  • eDave
    eDave over 6 years ago

    You need to load it first. You can do this by including an autoload command in your allegro.ilinit file.

    eg skill_function.autolad = "mySkillFile.il"

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • eDave
    eDave over 6 years ago

    You need to load it first. You can do this by including an autoload command in your allegro.ilinit file.

    eg skill_function.autolad = "mySkillFile.il"

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • ttkka
    ttkka over 6 years ago in reply to eDave

    So skill files in the skill directory aren't loaded automatically on start-up?

    Is there a way to do this automatically or is this not recommended?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 6 years ago in reply to ttkka

    That's right. The correct method is to use your allegro.ilinit to load the files you need. You could easily include a function in there to load all the skill files present.

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