How to get the rotation (orientation) of the cell instantiated through pya.CellInstArray

Hi Everyone.

I am writing a Python script for Klayout.

In the script I have selected a box.
I need to be able to identify the rotation (orientation) of the parent cell containing the selected box, when this parent cell had been instantiated as one of an array of cells.

BOX -> Parent Cell -> Parent is part of a CellInstancesArray -> CellInstancesArray.rotation

I know this information is stored somewhere, but I can't find it.

Can you please give some suggestion?

Thank you in advance
Best regards
Giovanni

Comments

Sign In or Register to comment.