• 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. Creating Context File

Stats

  • Replies 7
  • Subscribers 17
  • Views 15950
  • Members are here 0
More Content

Creating Context File

EMperson
EMperson over 7 years ago

The process for creating context files is unclear to me. I've read the sklanguser.pdf summary, but I'm confused on a few things:

1) How to set up the Directory Structure. If I want to create the context file "HelloWorld.cxt", where should the file "HelloWorld.il" go?

2) I keep getting the error "can't access startup.il". Where should that file be stored? What should the contents of startup.il be?

I just need a super concise, easy tutorial of how to create a context file. Thanks!!

  • Cancel
  • Sign in to reply
  • EMperson
    EMperson over 7 years ago in reply to eDave

    Do you have to create your own .ilinit file? Where should the allegro.init file be? I read a different post that says to check where the ALLEGRO_ SITE variable but I don't know where that is...

    Would you mind posting how to find the allegro.iliinit file, as well as example code of registering commands in the allegro.ilinit file? Thanks Slight smile

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

    The allegro.ilinit file resides in your Skill path.

    Type "set" on the Allegro command line to get the settings of all your variables. Find allegro_site. The skill folder is a subdirectory of that folder.

    Here's an example:

    loadContext("AutosilkUtils_public.cxt")
    axlCmdRegister("silkutils_public" 'ASU_start ?cmdType "interactive")

    • 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