It looks like you're new here. If you want to get involved, click one of these buttons!
I am new in Macro Development in Klayout, as such, my code skills here are rudimental.
I need to write a simple DRC that at the end can check if there is any disconnected waveguides and tell me how much and where the violation occurs, since in some complex draws I can not check all waveguides (cells) one by one to see if everything is connected!
I am trying in Macro Development, DRC part to write something that would give me this output, however I am getting errors.
I thought that writing out this output: layer.space(value [, options]))
report("Check gaps between waveguides")
input(1).space(0um, projection).output("Violation","Gap between waveguides higher than 0µm.")
However it does not run and gives me error (unexpected tIdentifier..)
Can you please help me to understand and what/how should I write such code to be able to get if there is gaps in my structure?
Thank you in advance.