Hello,
I am using ruby scripting to posprocess someof my GDS files. One of the requirements is to shift the position of an specific layer, similar as Edit/layout/move by does, but for a specific layer. I have no idea if it is possible due I have basic knowledge of ruby. Thanks for your time
cheers,
Alonso
Comments
Hi Alonso,
I don't know the nature of your postprocessing. But you might consider using the DRC feature for that purpose: a DRC script can be used to process layout tool.
Within the DRC feature, you can move a layer using the "move" method: http://www.klayout.de/doc/about/drc_ref_layer.html#h2-687.
In general, the DRC framework is easier to use than pure Ruby scripts and offers some powerful features wrapped in a simply syntax.
Matthias
DRC does perfectly for what I wanted to do. Thanks a lot for a fast answer.
Alonso