how to set the default saving folder for the generated gds file

edited January 2022 in Ruby Scripting

I am new in creating gds file using ruby. I have learned an example from this link: https://www.klayout.de/forum/discussion/303/creating-a-whole-mask-only-with-ruby.

After I run this ruby code, the generated gds file is in the "D:\program files(x86)\Klayout". I want the generated file in the same folder of the ruby file. How could I set the defaut saving folder?

Thanks a lot.

Comments

Sign In or Register to comment.