• 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. How to access user preferences via SKILL?

Stats

  • Replies 8
  • Subscribers 17
  • Views 12626
  • Members are here 0
More Content

How to access user preferences via SKILL?

EvanShultz
EvanShultz over 6 years ago

I found article 20482607 in COS (https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1O0V000009ET07UAG), titled "How to customize the User Preferences Editor with custom variables".

This seems to work fine and the customizations show up in the UI, but I haven't figured out how to access those new user prefs (or any user pref, for that matter) in my SKILL programs. axlDBGetDesign() doesn't seem to have any property that helps me and I don't get any hits with a bunch of search terms in algroskill.pdf. Nor does searching this forum or online help. They also aren't shown when running "set" in the Command window (though many user prefs aren't there so I'm not concerned).

Can anybody show me how to access user prefs, especially custom ones, via SKILL?

As a related aside, is there any way to set a default value for a custom user pref? With a checkbox the wording of the pref could be inverted to make unchecked the desired default state, but with a STRING or ENUM how can I set the default value?

  • Cancel
  • Sign in to reply
Parents
  • EvanShultz
    EvanShultz over 6 years ago

    I was finally able to get the answer that defaults are not able to be set for custom user prefs. I asked for an enhancement to support this.

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

    I was finally able to get the answer that defaults are not able to be set for custom user prefs. I asked for an enhancement to support this.

    • 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