How do we check the instance we are placing is not overlapping with the placement blockage using encounter commands.
In reply to Kari:
sorry this is not what i intended.
i have a requirement like -
i need to add a buffer to each terminal of a macro and place the buffer within 100um from macro pin. so what i will do is, i will add around 50um to the coordinates of macro pin and before i place this buffer i should check the condition that it is not overlapping with placement blockage of macro.
In reply to surajece01:
You could place your buffers where you want, even if it's over a blockage, then call refinePlace to legalize the placement. You will have to check afterwards that your buffers didn't get moved too far away from what you want. (But refinePlace should snap the buffer to the nearest legal location.)
I suppose there might be a way to check for blockages under the coordinates where you're trying to place your buffers, but I can't think of a quick way off the top of my head. Maybe some of our script gurus have an idea for that one!