Hi All

I am trying to set a default effect value for the blur tool in RotoPaint and 
I’m really confused about a couple of things.

First of all, I tried setting the value with a python command. That was 
reasonably simple but I found 2 ways of doing it and I can’t understand the 
difference.

with the RotoPaint node selected:

nuke.selectedNode().knob(‘toolbar_effect_parameter1').setValue('7')

nuke.selectedNode()[‘toolbar_effect_parameter1'].setValue('8')

Both of these commands work. so I’m wondering what is the difference between 
them, and why would I use one rather than the other.


So now that I know the name of the knob, I tried setting the default value like 
this:

nuke.knobDefault(‘RotoPaint.toolbar_effect_parameter1’, ‘8’)

but that is not working. 

I have found a workaround so not a big deal but I’m a bit stuck with this one. 
I have read a lot on the rotopaint default settings and it doesn’t explain why 
this doesn’t work, and I haven’t found any method that actually works.

Jean-Luc

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

Reply via email to