you get a list of all knobs with

node.knobs()

in your case:
nuke.activeViewer().node().knobs()


On 7/5/2011 5:45 PM, teidenzero wrote:
Hello everybody, I'm quite new in nuke scripting and i'm facing this problem:

I know I can access the viewer using

nuke.activeViewer()

I found an example on the net that uses

nuke.activeViewer().node()['channels'].setValue('depth')

this one sets the current viewer's channels on "depth", and you can actually see the knob changing its value on the viewer.

Let's say I want to access the zoom: what is its name? what are its properties? How can I find one knob's name by myself?

I looked almost everywhere but it looks like there is no way to get the value of the current zoom level in the viewer

Thank you very much, help is much apreciated


_______________________________________________
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

Reply via email to