How can do a py macro and run in batch mode(without GUI)

Hi @Matthias ,
I can do a Ruby macro and run in batch mode with command : klayout.exe -b -rd tech=3 -rd gds=file.gds2 -r maplayer.rb
How can i do the same with py macro?.
I tried but when i use $tech or $gds in py macro to get input parameter then tool show invalid syntax.

Thanks you,
dai

Comments

Sign In or Register to comment.