Passing parameters for a python macro from command-line

Hi,

In ruby (from this forum):

klayout -b -r script.rb -rd infile=input.gds
...
layout.read($infile)

What would be the Python equivalent?

Thanks,

Mikhail

Comments

  • I think I figured it out - it is simply a global in python macro.

Sign In or Register to comment.