• 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. dbid removed

Stats

  • Replies 3
  • Subscribers 159
  • Views 13605
  • Members are here 0
More Content

dbid removed

B Bruekers
B Bruekers over 11 years ago

Hi all,

I've made some code that copies the dbid's of the symbol definitions to a global list (copy(axlDBGetDesign()->symdefs)) because i need to sort the list. After sorting the name of the symb. definitions are shown in a grid on a form. 

Now when my skill is started from the skill prompt everything works well. dbid's are stored in the list, shown in the grid and even after i closed the skill code the list contains valid dbis.

However when I registrate the skill command with axlCmdRegister (interactive) the dbid's are copied in the list, sorted and shown OK on the form. But right after this the dbid's are 'removed'. 

I've putted some pp() statemens in my main procedure, just before it ends the list contains valid dbid's. When I request the list at the skill command prompt it shows me 'dbid:removed'.

So shortly, code works fine when started from skill prompt, but when started from allegro prompt the dbid's are removed right after the main procedure has finished. If I then restart the code it shows me the exact same dbid's as previously, so they are not removed from the db.

What's going on here?

Thanks. 

Bram Bruekers

  • Sign in to reply
  • Cancel
Parents
  • B Bruekers
    B Bruekers over 11 years ago

     Hi fxffxf,

     I've tried the blocking function from the cns-design.il and it works!  

    Still to figure out what axlEnterEvent('(PICK) "" nil) does exactly to understand the mechanism better. 

    Thanks for you help!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • B Bruekers
    B Bruekers over 11 years ago

     Hi fxffxf,

     I've tried the blocking function from the cns-design.il and it works!  

    Still to figure out what axlEnterEvent('(PICK) "" nil) does exactly to understand the mechanism better. 

    Thanks for you help!

    • 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