It looks like you're new here. If you want to get involved, click one of these buttons!
Hello Klayouters,
Greetings! This is my first post hhh. I always use 'for' loop to generate an array of regions or shapes. Could you give me an example of how to use Trans to generate an array of box? Like this:
Thank you so much!
Best,
Jin
Comments
Using python
Hi Jin,
You need to create two cells: one main cell and a child cell. In the child cell you place a single rectangle. Then you create a CellInstArray instance with the child's cell cell_index and the vectors and dimensions of the array and insert this into the main cell.
Without instances, you can only code a loop to place the shapes.
Matthias
Thank you Matthias, problem solved