• 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. How to get a list of available propertyies

Stats

  • Replies 6
  • Subscribers 159
  • Views 15242
  • Members are here 0
More Content

How to get a list of available propertyies

archive
archive over 20 years ago

I am new to the SKILL world. I am wondering if there is anyone who can tell me how to get the list of all available properties for a given design and how to find out the list of object types that each property can be added to using the SKILL functions?

Thanks.

lipeijia@ugs.com


Originally posted in cdnusers.org by pjli
  • Sign in to reply
  • Cancel
  • archive
    archive over 20 years ago

    To get the list of properties for a design use axlDBGetProperties(nil). Use axlDBGetPropDictEntry to get the property information.


    Originally posted in cdnusers.org by nzdave
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 20 years ago

    Thank you very much Dave,

    I am sorry for not making my question clear. The axlDBGetProperties(theObj) returns the list of properties attached to theObj. Using "nil" seems an undocumented use which equivalent to axlDBGetProperties( axlDBGetDesign() ). This is because the design object is a default root object, I guess.

    What I was asking is about geting the list of property dictionary entries (DictProp). If you are in PCB editor, select the setup/property menu item, you will get a dialog that lists all names of available user properties. If you select edit/property menu for an object in your drawing, a dialog will also bring you a list of available property names. Those are what I asked for.

    The axlGetPropDictEntry("propName")->?? prints out info that contains a list of object types named "objects". This behavior seems not documented in Allegro PCB and Package User Guide: SKILL Reference I have. Can I depend on this use?

    Thanks.

    lipeijia@ugs.com


    Originally posted in cdnusers.org by pjli
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 20 years ago

    Sorry, don't know for sure, but I expect that you can depend on axlGetPropDictEntry being available. It is unusual for Cadence to remove a command without making an equivalent available and the fact that it is not prefixed with "_" gives me added confidence.


    Originally posted in cdnusers.org by nzdave
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 20 years ago

    Dave,

    Your comments really make sense to me. That cleared my original suspicious. I noticed that in the manual, the descriptions about axlDBCreatePropDictEntry() and axlDBGetPropDictEntry() do not show a match. The former asks the list of object types as a required input while the example output of the later does not show this object type list. From design point of view, this is abnormal. The two functions should match each other with the added object list.

    Thanks for your help.

    lipeijia@usg.com


    Originally posted in cdnusers.org by pjli
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Runner
    Runner over 15 years ago

     I don't want to create a new topic with similar or identical name.

    So my question is: how can I list all properties of object (e.g. instance or wire) using SKILL?

    • 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