So I had a requirement for any Virtuoso based tool/script that can place small instances (just has two pins) automatically on level-1 pins, as I had quite a lot of such cases and placing all of them manually is very time consuming to say the least.
So I have a small instance which just has a small Res structure and two pins on each terminal. I want the pin in this instance to automatically get placed aligned to level -1 pin of some instance to which it's connected on the top hierarchy (consisting these two instances)
I am using Layout XL