Page 1 of 1

Manipulate layers

Posted: Thu May 14, 2009 9:24 am
by andersb
I need to produce two printouts from the same drawing for to different processes with different requirements.
This means that I need to change some of the attributes of a layer in an easy way.

1. How do I write a script that makes one set of layers visible and another set invisible?

2. How can I write a script that goes through the layers and change the colour attribute, preferably based on the name of the layer?
( something like "foreach layer, if name="fs_*", layer.colour="blue";...)

thanks
Anders