I have some metal polygons in an instance and that is called in some other other celllview on which the pins are placed.
I want to find only those the metal polygons which have pin label over them.
I have written a code wherein the polygon is broken into rects and then pins are searched in the rects so created, but that process involves a lot of loops thus being tedious and memory hungry. Also, checking net or pin properties of the metal ain't working.
Could you please share any new code ideas wherein the desired metal polygons can be found