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,
);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.
do you have any idea for me to fix the bug?
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 ...