Does anyone know how I can set the noise interval of a layer with lua?
I need to apply the sketchy effect with a script, but needed my own values:
Code: Select all
vectorLayer.fNoisyLines = true;
vectorLayer.fNoisyShapes = true;
vectorLayer.fAnimatedNoise = true;
vectorLayer.fExtraSketchy = false;
vectorLayer.fExtraLines = 0;
vectorLayer.fNoiseAmp = 50.0 / moho.document:Height();
vectorLayer.fNoiseScale = 111.0 / moho.document:Height();
vectorLayer.fNoiseInterval = 2
The rest of the script works fine.
PS- I have no knowledge of .lua...
