It looks like you're new here. If you want to get involved, click one of these buttons!
This code works.
source("test1.gds")
report("Firt sample database", "out.lyrdb")
input(1, 0).sized(200.nm).output("sized","error")
But, this code would not produce out.lyrdb file. What am I missing?
eng = DRC::DRCEngine::new
eng.instance_eval do
source("test1.gds")
report("Firt sample database", "out.lyrdb")
input(1, 0).sized(200.nm).output("sized","error")
end
Comments
@yangwoo You need to call "eng._finish" finally to flush the report to a file.
But you're playing with internals here. You should be able to read the original code when you plan to do so.
Matthias
@Matthias Thanks for comments. Borrowed two lines of codes from eng._flush and now it works.