It looks like you're new here. If you want to get involved, click one of these buttons!
Hi all,
I am post-processing a layout using python scripting (FYI, the final objective is to insert test labels and extract coordinates of some instances).
I need to know how to make a cell variant from an existing array using the script. This could be done using the GUI (link). The documentation describes this for PCells; however, I am not dealing with a PCell.
I am resolving the arrays using the attached piece of code. The next step is to make a cell variant from the resolved elements. Any help is appreciated.
Thanks,
Reza
Comments
In order to create a cell variant, create a new cell and copy shapes and instances of the original cell, like this:
You'll then need to find the Instance object of the instance you want to modify with the variant. Once you have that, making it point to the variant is simple:
Matthias