Hello,
I doing my first steps with scripting,and really need some help :).
I have a already drawn layout ,on of the layres is a set of boxs drawn one next to another.
I want to load this layout,and on that specific layer (with the bozs) select on box at a time and do a set of action on it (copy,paste,sizing,subtraction and corner rounding)
At the end i need to do this set of action on all the boxs drawn in that layer.
Can you please helpp me with an example to this kund of programming.
thanks ahead
shirly
Comments
Hi Shirly,
The scripting feature is not a macro recorder - specifically it lacks "copy" and "paste", because the clipboard concept has been replaced by the ability to manipulate the objects of the database itself.
There is a lot of documentation and I'd suggest you start with an example similar to your application. A good starting point may be the anisotropic scaling script: http://www.klayout.de/useful_scripts.html#scale_anisotropic.lym. You'll also find the layer processing framework there which may also provide a way to solve your problem.
Regards,
Matthias