Introduction into ruby based automation (RBA)

Note: this page is outdated. Starting with version 0.22, there are two styles of macro programming: traditional style (which this page was referring to) and macro style. The traditional style is based on ruby scripts and KLayout is used as an interpreter for these scripts using the "-r" and "-rm" command line options. Find a description for this kind of programming here: Traditional Ruby Programming.

"Macro style" scripts act more like KLayout plugins and can be edited and debugged conveniently in the macro development environment. For details about this style of programming, read About Macro Development.

A general introduction into Ruby programming in KLayout can be found here: Programming Ruby scripts.