• 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. Custom IC SKILL
  3. setting user property in symbol view

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 15968
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

setting user property in symbol view

rajivsub
rajivsub over 16 years ago

I am trying to set a user property on one of the pins of a symbol. The property is 'nlAction' and has a string value of "ignore". 

I can set it by clicking on the properties of the pin and adding the user property. (in GUI mode)

Any suggestions if there is a skill function that will allow me to add a user property on a schematic symbol object?

I tried using dbSetq but it does not show up on the property form. Also, for a pin with the property added via the form, dbSetq returned nil - so not sure where the user property is getting added to. Could not get it to show up with obj~>?? either. 

 Thanks

 

  • Cancel
  • skillUser
    skillUser over 16 years ago

    Hi Rajiv,

    Any database object, except for a property itself, can have a property added/attached to it. (For a property of a property, you would need to create a hierarchical property object).  You should be able to do what you want using the dbCreateProp() function:

    dbCreateProp(
     g_object
     t_name
     t_propType
     g_value
    )
     => d_prop / nil

    For certain properties, e.g. time, which looks like a string, you need to use a specific function, dbCreateTimeProp() for example.

    I hope that this helps you.

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 16 years ago

    Rajiv,

    To answer your specific question, when you add a user defined property on a pin in the symbol editor, the property actually gets added onto the terminal object.

    So you could do the same using:

      dbFindTermByName(cvId "pinName")~>nlAction="ignore"

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • rajivsub
    rajivsub over 16 years ago

    Thanks all,

    Got it to work with your solutions. 

    Appreciate it.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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