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:

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.


Sign In or Register to comment.