Closed frankxu-omni closed 2 weeks ago
I have nested.oas looks like this.
code:
ouput:
I wonder why cell indexes are not matched.
I attached test case below. iter_cell_index.zip
My understanding is as follows. I've slightly modified the code.
Hi Kazunari, Your explanation is clear. I see now. I was confused by "current instance sits in". That really means its parent cell. Good graphical demo. I like that. Thanks, -Frank
I have nested.oas looks like this.![hiearchy](https://github.com/KLayout/klayout/assets/137927478/5f335813-c615-443f-bedc-7a6f27a1e5d3)
code:![code](https://github.com/KLayout/klayout/assets/137927478/28fa145b-304a-4dd0-a475-a64d39f808d8)
ouput:![output](https://github.com/KLayout/klayout/assets/137927478/fc514ea9-f9b8-4ed7-a8de-8f8af10905f3)
I wonder why cell indexes are not matched.
I attached test case below. iter_cell_index.zip