• 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. How to add 'display=value' in properties of symbol pins

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 143
  • Views 3917
  • 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

How to add 'display=value' in properties of symbol pins

shane park
shane park over 2 years ago

Hello,

I want to show the 'pin name' of each 'symbol pins'.

I created many symbol pins using 'schCreateSymbolPin' in skill but because the option of 'display' in property was 'off' , the pin name( label) does not apper. It shoud be changed from 'off' to 'value'

So I want to show the pin name( lable ) of each symbolic pin ( Not schematic pins ) , it means, I want to modify the property of each symbolic pin using skill.

And, also, if I set the 'Display' as 'value', the orientation of label (pin name) is R0, so is there any way to change that direction too? 

Thank you.

  • Cancel
Parents
  • AurelBuche
    AurelBuche over 2 years ago

    You duplicated your previous article: The way how change the 'Display' in object properties of pin in symbol,

    You could have at least searched Cadence support before posting your question twice!

    I simply searched for schCreateSymbolPin, the second result shows an example of how to use it properly: SKILL: How to create a pin with label in a symbol view. Use schCreateSymbolPin followed by schCreateSymbolLabel and schGlueLabel.

    • Cancel
    • Vote Up -1 Vote Down
    • Cancel
Reply
  • AurelBuche
    AurelBuche over 2 years ago

    You duplicated your previous article: The way how change the 'Display' in object properties of pin in symbol,

    You could have at least searched Cadence support before posting your question twice!

    I simply searched for schCreateSymbolPin, the second result shows an example of how to use it properly: SKILL: How to create a pin with label in a symbol view. Use schCreateSymbolPin followed by schCreateSymbolLabel and schGlueLabel.

    • Cancel
    • Vote Up -1 Vote Down
    • Cancel
Children
  • shane park
    shane park over 2 years ago in reply to AurelBuche

    I already searched and saw that article and the link you posted.

    I am sorry but this is not what I wanted, and of course, the answer you commented was Not helpful. 

    So, I replied that article, but you didn't answer that. So I have to post one more.

    I want to know 'how to changed the property of each symbol pin.'

    I know putting the label using 'schCreateSymbolLabel'. 

    I tried plenty of times to find the way change the propery of pin but I couldn't get the way.

    And also you gave wrong answer too. twice!

    I am sorry if I bother you but, please don't tell me like a 'Lazy person'.

    I tried and searched tremendous time to get answer.

    anyway, I understood there is no way to access the property of symbol pin.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to shane park

    First of all, a bit of civility wouldn't go amiss. Also please read the forum guidelines which ask you not to post the same question more than once. Just because you didn't get an answer, doesn't mean that you should post the same question again - remember that people who post here are doing so voluntarily (Aurêlien does not work for Cadence - although even those of us who do work for Cadence do this in our spare time). Anything urgent should be asked to customer support, as that's tracked and has an expectation of a timely response.

    Secondly, Aurélien's answer was correct. For normal symbol pins created with the symbol editor, a label is added as a child of the pin shape (that's what the article does). Setting the Display to value or off on the edit properties form simply controls the visibility of the associated label. So having used the article to create the pin, you could turn the label off using:

    setof(shape pinShape~>children shape~>objType=="label" || shape~>objType=="textDisplay")~>isVisible=nil ; (or t to turn back on).

    If there isn't an associated label or textDisplay, then the edit properties form creates one at a somewhat arbitrary location using dbCreateTextDisplay, and then attaches it to the pin shape (similar to what schGlueLabel does - you can also just set the parent attribute of the textDisplay to be the pin). However, it's far simpler to create the label as you create the pin (using the article that Aurélien referenced) as that gives you immediate control over the location of the label, even if you don't necessarily want it displayed initially.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • shane park
    shane park over 2 years ago in reply to Andrew Beckett

    Hi, 

    First of all,  I apologize posting duplicated article. I replied that article but there was no react for 3weeks. In this period, I tried get the answer using google or other forums but It failed, so posed again.

    I just want to know how to access the properties of 'symbol pin'. In schematic pin, it is easy to access  their properties using 'term~> or ~instancee~>', so I was curious about the symbol pin can do like that.

    Of couse, I want to manupulate the 'Display' option using 'skill' by automatically, but also want to do access other option in properties if it possible.

    I was uncomfortable of the answer little bit but I couldn't understand why Aurélien treat me Lazy guy.

    Anyway, I stop finding the way access the properties of symbol pin using skill. and sorry for breaking the guideline of Cadence forum.

    thank you for answer, Andrew and Aurélien

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to shane park

    Put simply, the display of the name of the pin (or rather the terminal name) is not done by setting a property or an attribute of the pin or terminal itself. It is done by controlling the visibility of an associated label or textDisplay, and creating such a textDisplay if one doesn’t exist. The edit properties form just makes it look as if you’re doing it directly on the pin, but you’re not in practice. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • shane park
    shane park over 2 years ago in reply to Andrew Beckett

    Thank you Andrew.

    It is very clear asnwer to me.

    • 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