Hi,
I am looking for a macro that allows me to generate circles with a user-defined diameter based on a user-defined feature size of the tiny squares approximating the shape of the circle in the layout.
The ideal case for me is a circle, but in order to comply with the DRC restrictions, I prefer to have the little squares.
I appreciate your help.
Thanks!
Ahmed
Comments
Ahmed,
If I understand you correctly, you will draw the squares yourself (either manually with the mouse or via script) and then want to convert them to circles? (Correct me if I'm wrong.)
If so, for the latter part of it, take a look at Edit menu > Selection > Convert to PCell. For example:
I thought perhaps you didn't know of that functionality. Let us know what additional functionality you seek. e.g. do you need to draw the squares via script, and if so, what are your requirements on how to draw the squares' x, y, and width?
David