• 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. Interactive vs. General mode and how to setup

Stats

  • Replies 2
  • Subscribers 159
  • Views 13582
  • Members are here 0
More Content

Interactive vs. General mode and how to setup

Pieman
Pieman over 15 years ago

To the Community,

 I am gaining understanding with Skill Coding, but it seems there is so much to learn!

I was reading a thread and there was mention about 'Interactive' and 'General' settings.

 How are these set, and what is the difference between these?

I have been trying to find information on these in the Skill Reference Guide, but only find 'Interactive Edit Functions', nothing on how to set the skill code to be in 'interactive' or 'general' mode or what these refer to.

 Help on this would be great.

Best regards,

Marvin.

  • Sign in to reply
  • Cancel
  • fxffxf
    fxffxf over 15 years ago

    Skill consists of both the language and a one or more sets of functions. The Skill core functions can be found in the Skill Reference manual. Skill has an additional set of functions developed to support the Allegro back-end family of products whose names start with "axl". The axl functions can be found in the Allegro Skill Reference manual. This means to program in Skill with Allegro, you need the 2 Skill manuals (Reference and User Guide) plus the Allegro Skill Reference manual.

    In your case, you are asking for the difference between interactive and general. This pertains to a single Allegro Skill function, axlCmdRegister, and has to do with how your Skill code registers itself as an Allegro command. Once your Skill code is registered as and Allegro command, you want your users invoke your code by the command name you register. Example, you create a Skill function called "myFunc()" that does something, you would register it via axlCmdRegister as the Allegro command  mycommand".  Users would then either type "mycommand"  or you would add "mycommand" to the Allegro menu.

    Typically, if you are going to change the Allegro database, you want to register your command as interactive. If your Skill code just displays infomation, you register it as general. General commands should not require user picks and will not terminate other interactive commands. When Allegro starts an interactive command it will first issue a "done" message to end any active interactive commands. The move and delete commands are both examples of interactive commands. The status form is an example of a general command.

    Most commands should be written as interative. See axlCmdRegister for a complete description.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Pieman
    Pieman over 15 years ago

     fxffxf,

    Thanks for the quick response.

    I will read up on this under axlCmdRegister in the Skill Reference manual.

     Marvin.

    • 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