one way...
for i in nuke.selectedNode().knobs():
print i
another
print (nuke.selectedNode().knobs().keys())
Howard
>________________________________
> From: Fredrik Averpil <[email protected]>
>To: Nuke Python discussion <[email protected]>
>Sent: Monday, 19 December 2011, 16:14
>Subject: [Nuke-python] Listing knobs of a node
>
>
>Hey all,
>
>
>By using print(nuke.selectedNode()), I can list all knobs of a node but I will
>also get them together with their value.
>
>
>How can I print them out without the value?
>
>
>I'm trying to put all knobs into a dropdown menu...
>
>
>
>
>Cheers,
>Fredrik
>
>
>
>
>_______________________________________________
>Nuke-python mailing list
>[email protected], http://forums.thefoundry.co.uk/
>http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
>
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python