• 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. axlTriggerSet failing asking for a function

Stats

  • Replies 3
  • Subscribers 19
  • Views 9875
  • Members are here 0
More Content

axlTriggerSet failing asking for a function

emldebh61
emldebh61 over 6 years ago

I have a procedure called Set_class_title

procedure( _set_class_title(t_open)

dc=axlDBGetDesign()->prop->DESIGN_CLASS
axlSetVariable("DESIGN_CLASS" dc)

);end proc

I want it to run every time I open a new PCB file in Allegro

I have placed the line

axlTriggerSet('open 'set_class_title) in my allegro.ilinit file

When I run Allegro I get an error

W- *WARNING* Symbol set_class_title is not a function.

Any thoughts

Thanks in advance

  • Cancel
  • Sign in to reply
  • B Bruekers
    B Bruekers over 6 years ago

    The procedure needs to be loaded before you can set the trigger. So first load the code, then set the trigger. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • emldebh61
    emldebh61 over 6 years ago in reply to B Bruekers

    OK I will take a look and see if I am not doing that. The code appears to work despite the warning ?

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

    Your axlTriggerSet call doesn't have the correct procedure name, please try the following:

    axlTriggerSet('open '_set_class_title)

    • 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