Wednesday, December 03, 2008     Register | Login | Search | Contact Us
     

Many of you already received communications about the move of the Cadence user community into cadence.com. And many of you have already joined, with over 4000 registrations in the first two weeks.

The new Cadence Community enhances the ability of Cadence users to connect and collaborate. In addition to moving the community into cadence.com -- enabling single sign-on for community, Sourcelink and Cadence events -- the new site is organized around nine technology segments, giving you easy access to product information, training, forums and blogs. Some of the new features include:
  • Ability to respond to posts via e-mail
  • Technology-specific blogs
  • Latest Web 2.0 social networking capabilities
  • Public profile options
  • Private messaging
  • Friends lists
Visit the new Cadence Community today at www.cadence.com/community and join the discussions!

Registration note: Due to the scope of the enhancements and the new SSO registration system, we were not able to migrate existing cdnusers.org member accounts. So new registrations are required, but this enables a broader set of functionality we think you'll enjoy.

Forum note: Under the guidance of forum moderators, we have taken the 20+ cdnusers.org forums and consolidated them into 11 forums on the new site. Posts have been brought over so you can leverage that posting history. CDNusers forums will be set to read only starting 7/30, and cdnusers.org will be redirected to the new community on 8/4.

Best regards,
Mike and Tom

Michael A. Catrambone - Steering Committee Chairman
Distinguished Engineer
PCB/Mechanical
UTStarcom, Inc.

Tom Diederich
Cadence Community Manager
Home
Forums
Subject: How to get a list of available propertyies
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
pjli
Posts: 9
Online: User is Offline
6/01/2005 1:49 PM  
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
nzdave
Posts: 0
Online: User is Offline
6/01/2005 2:44 PM  
To get the list of properties for a design use axlDBGetProperties(nil). Use axlDBGetPropDictEntry to get the property information.
pjli
Posts: 9
Online: User is Offline
6/01/2005 3:27 PM  
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
nzdave
Posts: 0
Online: User is Offline
6/01/2005 4:17 PM  
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.
pjli
Posts: 9
Online: User is Offline
6/02/2005 5:04 AM  
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
Posting to forums is available to community members only.
Login or Register

Forums > Silicon-package-board > Shared code - SKILL > How to get a list of available propertyies


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.