should look like this
http://dl.dropbox.com/u/1071227/Capture.PNG
On Mon, Mar 12, 2012, at 09:07, barba wrote:
hi hugo..
i'm trying to test your code, but i have some errors...and i
don't know why...
i'm sorry but i'm starting now to learn pytohn..
can you help me??
for test..i done...exactly what you have done...
blur node,group...add a slider for have User Tab..than i select
the Group..
script editor...but your code gives me an error..
Code:
-->
--> s = nuke.selectedNode() s['knobChanged'].setValue(''' n =
nuke.thisNode() k = nuke.thisKnob() if k.name() == "inputChange":
if n.input(0):
n['User'].clearFlag(nuke.INVISIBLE) else:
n['User'].setFlag(nuke.INVISIBLE) ''')
# Result:
File "", line 1
s = nuke.selectedNode() s['knobChanged'].setValue(''' n =
nuke.thisNode() k = nuke.thisKnob() if k.name() == "inputChange":
if n.input(0):
^
SyntaxError: invalid syntax
-->
Thanks for your patience..
R.
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
--
Hugo Léveillé
TD Compositing, Vision Globale
[email protected]
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users