It looks like you're new here. If you want to get involved, click one of these buttons!
I am currently working on a Klayout DRC script and I want to test for the existance/presence of a specific cell in a given layout (gds file).
Is there a specific function for that? and/or is there a way to use a conditional operator, for example if/else?
What I tried to do was selecting the targeted cell and layer using the cell("name") and layer functions. This worked, when the cell was present; DRC reported it in the Macro Database Browser. But what I am obiously trying to achieve is, to have the DRC notify me in the case wheret the specified cell is not present in the layout at hand.