• 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 PCB Editor
  3. Autorun function on Allegro start

Stats

  • Replies 4
  • Subscribers 160
  • Views 13801
  • Members are here 0
More Content

Autorun function on Allegro start

Kadar
Kadar over 12 years ago

Hi All,

Can somone explain to me how can I run my SKILL function on Allegro PCB

On tool start up. Calling the function from allegro.ilinit can't be performed.

 

Thank You in advance,

Kadar 

  • Sign in to reply
  • Cancel
  • eDave
    eDave over 12 years ago

    You will have to be a bit more specific.

    allegro.ilinit should run if it's in the correct path. Check your ALLEGRO_SITE environment variable.

    Dave 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Kadar
    Kadar over 12 years ago

    Hi Dave,

    Thank You for reply.

    My "ALLEGRO_SITE" variable defined correctly - all my functions are loaded from inside "ALLEGRO_SITE/skill/allegro.ilinit".

    I wrote the next lines in "ALLEGRO_SITE/skill/allegro.ilinit.

    load("ALLEGRO_SITE/skill/My_Func_file.il")

    axlCmdRegister("CMD_Name" 'Func_Name ?cmdType "general")

    To autorun the function I added (In the End of allegro.ilinit)

     CMD_Name (or Func_Name() ):

     But it caused the tool to fail on startup. What is done wrong?

    Thanks,

    Kadar

     

     

     

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

    This is an example of what your ilinit file should contain:

    axlCmdRegister("tidy folder" 'tidyFolder ?cmdType "general")

    tidyFolder.autoload = "tidyFolder.il" 

    To run this routine I need to type tidy folder in the console window.

    If you want a routine to run every time you start Allegro you should look at the axlTriggerSet command. This is a command that I have in our ilinit file:

    axlTriggerSet('open 'tait_OpenAllegroTrigger)

    tait_OpenAllegroTrigger is a Skill function. 

    Dave 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Kadar
    Kadar over 12 years ago

    Hello Dave,

    After some code changes and using "axlTriggerSet" function

    My function runs on tool statup.

    THANK YOU!!!!!! 

     

    • 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