Home > Community > Forums > Custom IC SKILL > how to tell the pin from the rect

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 how to tell the pin from the rect 

Last post Mon, Nov 11 2013 1:58 AM by Andrew Beckett. 1 replies.
Started by acom 11 Nov 2013 01:55 AM. Topic has 1 replies and 1488 views
Page 1 of 1 (2 items)
Sort Posts:
  • Mon, Nov 11 2013 1:55 AM

    • acom
    • Not Ranked
    • Joined on Fri, Nov 1 2013
    • Posts 8
    • Points 145
    how to tell the pin from the rect Reply

    Hi  all,

    i would like to slelect the pins in virtuoso layout and did some operation about them. 

    But i didn't know how to  identify whether i haven chose pins or other objects in layout.

    i have tired to do like below,

    if(pinn~>objType=="rect" then

    operationA

    else

    operationB 

    );identify whether i had choosen the pins.if so, run operation A;if not, run operation B.

     But i found that there is a bug.For a rect drawn by metal, its property is the same.

    metalrect~>objType="rect".

    do you have any idea for me to  fix the bug?

    Thanks

     

    • Post Points: 20
  • Mon, Nov 11 2013 1:58 AM

    Re: how to tell the pin from the rect Reply

    First of all, pins don't have to be rectangular - they can be any shape. What makes a pin a pin is that there is a figure (a shape or an instance) with the "pin" attribute. So if you do:

    if(pinn~>pin then ...

    Regards,

    Andrew.

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by acom at 11 Nov 2013 01:55 AM. Topic has 1 replies.