Knob names

Hello everybody, I’m quite new in nuke scripting and i’m facing this problem: how do I know knob names? and their values?
For example, I want to get the value of current zoom value inside Viewer1.
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?

Thank you very much, help is much apreciated

No Responses to “Knob names”

Post a Comment