• 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. Adding a new menu item to Allegro PCB Editor

Stats

  • Replies 26
  • Subscribers 164
  • Views 27129
  • Members are here 0
More Content

Adding a new menu item to Allegro PCB Editor

chads108
chads108 over 13 years ago

 I want to add, or really append, a new menu item to the Allgro PCB Editor menu.  What is the easiest way to handle this without having to modify the installed menu?  Maybe someone has an example that I could follow?

  • Sign in to reply
  • Cancel
Parents
  • mcatramb91
    mcatramb91 over 13 years ago

    I thought I had this posted somewhere on the forum but I cannot find it.  Here is the details of a solution that I have used:

    Most users just update the main menu file for Allegro "allegro.men" located at %CDSROOT%\share\pcb\text\cuimenus or copy it to a different location for modification then retarget their MENUPATH variable in Allegro to the updated menu.  All of this is really not recommended because your updates could be overrriden during a software update or your locally update Menu file could become out of date which could lead to software issues. 

    There is SKILL AXL functionality in Allegro 16.3 forward which allows you to add menus/append your own menus to the Cadence default menu dynamically during startup. This eliminates the need to maintain and support a local Allegro.men file or update the Allegro.men in the Cadence software hierarchy.   You can get some background information about the function "axlUIMenuInsert" in  %CDSROOT%\share\pcb\examples\skill\DOC\FUNCS (File name: axlUIMenuInsert.txt).

    To demonstrate this new functionality I created a small example of the SKILL Code and attached it to this post:
       1.) Unzip the ZIP file in your local C:\ folder will create the folder "C:\Dynamic_Menus" with two folders "PCBENV" and "SKILL_Lib". 
       2.) Add or Update your Windows Environment Variable "ALLEGRO_PCBENV" and point to the path "C:\Dynamic_Menus\PCBENV"
       3.) Open up Allegro and you will find "Valor Tools" and "SKILL Tools" menus.

    The SKILL Library folder "C:\Dynamic_Menus\SKILL_Lib" contains 3 SKILL programs downloaded from Sourcelink and the SKILL Script that creates the dynamic menu:
       HL_NPE.IL                                 =             Highlight Missing Pin Escapes
       HL_NTP.IL                                  =             Highlight Missing Test Points
       VALOR_EXT.IL                           =             Valor Extracts to generate data files from ODB++ Inside
       MIKEC_DYNAMIC_MENUS.IL     =             SKILL code used to create new menus  

    In order for the above files to work you need to load them during startup using the "allegro.ilinit" file which I have in "C:\Dynamic_Menus\PCBENV".  This loads all the SKILL code above.

    Hope this helps,
    Mike Catrambone
    Plexus Engineering Solutions

    Dynamic_Menus.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • mcatramb91
    mcatramb91 over 13 years ago

    I thought I had this posted somewhere on the forum but I cannot find it.  Here is the details of a solution that I have used:

    Most users just update the main menu file for Allegro "allegro.men" located at %CDSROOT%\share\pcb\text\cuimenus or copy it to a different location for modification then retarget their MENUPATH variable in Allegro to the updated menu.  All of this is really not recommended because your updates could be overrriden during a software update or your locally update Menu file could become out of date which could lead to software issues. 

    There is SKILL AXL functionality in Allegro 16.3 forward which allows you to add menus/append your own menus to the Cadence default menu dynamically during startup. This eliminates the need to maintain and support a local Allegro.men file or update the Allegro.men in the Cadence software hierarchy.   You can get some background information about the function "axlUIMenuInsert" in  %CDSROOT%\share\pcb\examples\skill\DOC\FUNCS (File name: axlUIMenuInsert.txt).

    To demonstrate this new functionality I created a small example of the SKILL Code and attached it to this post:
       1.) Unzip the ZIP file in your local C:\ folder will create the folder "C:\Dynamic_Menus" with two folders "PCBENV" and "SKILL_Lib". 
       2.) Add or Update your Windows Environment Variable "ALLEGRO_PCBENV" and point to the path "C:\Dynamic_Menus\PCBENV"
       3.) Open up Allegro and you will find "Valor Tools" and "SKILL Tools" menus.

    The SKILL Library folder "C:\Dynamic_Menus\SKILL_Lib" contains 3 SKILL programs downloaded from Sourcelink and the SKILL Script that creates the dynamic menu:
       HL_NPE.IL                                 =             Highlight Missing Pin Escapes
       HL_NTP.IL                                  =             Highlight Missing Test Points
       VALOR_EXT.IL                           =             Valor Extracts to generate data files from ODB++ Inside
       MIKEC_DYNAMIC_MENUS.IL     =             SKILL code used to create new menus  

    In order for the above files to work you need to load them during startup using the "allegro.ilinit" file which I have in "C:\Dynamic_Menus\PCBENV".  This loads all the SKILL code above.

    Hope this helps,
    Mike Catrambone
    Plexus Engineering Solutions

    Dynamic_Menus.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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