Sg2.9
locking a layer
Recent RSS
locking a layer
Date:  2. May 2006, 18:45

The following code doesn't lock the active layer.
It also doesn't produce an error..

activeDocument.activeLayer.locked=true

Printing the current locked value of the layer does work:

print(activeDocument.activeLayer.locked)
Re: locking a layer
From:  Jürg Lehni
Date:  29. September 2006, 21:39

Fixed in the upcoming version 2.0.018.

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19
Script of the Moment
Stroke Translation 10.03.09