also, it looks like there are some problems with the quote marks. this works here:

## Values are "low", "medium", "high"
x = “low"

for n in nuke.allNodes():
    if n.Class()=='ScanlineRender’:
        n.knob('antialiasing').setValue(x)


On 3/2/14 at 6:22 AM, [email protected] (Richard Bobo) wrote:

Oops, lovely email formatting… You’ll need to indent that last line.

Rich


On Mar 2, 2014, at 12:17 AM, Richard Bobo <[email protected]> wrote:

Ergin,

You can run the code below in Nuke’s Script editor. Just
change the value for x and execute. All ScanlineRender nodes will get the same value.

## Values are "low", "medium", "high"
x = “low"

for n in nuke.allNodes():
if n.Class()=='ScanlineRender’:
n.knob('antialiasing').setValue(x)



Rich


Rich Bobo
Senior VFX Compositor
Armstrong White
http://armstrong-white.com/

Email:  [email protected]
Mobile:  (248) 840-2665
Web:  http://richbobo.com/

"Failure is the opportunity to begin again more
intelligently."
- Henry Ford










On Mar 1, 2014, at 11:57 PM, Ergin SANAL
<[email protected]> wrote:

Hi There,
  I have a heavy comp which a lot of scanlinerender in it.
What i wanna do is,
  I wanna control antialiasing value of  all
scanlinerenders with single slider, with noOp or switch node. I messed around in script editor but i gave uo, 07.00 AM here ))
  any advise will save a lot of time of mine..   Greetings.
   _______________________________________________
Nuke-users mailing list
[email protected],
http://forums.thefoundry.co.uk/

http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/
nuke-users

_______________________________________________
Nuke-users mailing list
[email protected],
http://forums.thefoundry.co.uk/

http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/
nuke-users



-----
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/
nuke-users

_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to