I don't think this is exposed currently. The closest I can think of is getting the active widget via Pyside:

import PySide.QtGui
app = PySide.QtGui.QApplication.instance()
print app.focusWidget()

..but that is unlikely to be useful in most cases.

What is it you are trying to do with the active knob? There may be another way to do it.
- Ben

On 18/05/13 23:21, lamakaha wrote:
Hi
How can i access active knob field with Python?
Example:
i have a Transform node, i do click inside of knob "scale" field of the node
Now i want to do some operations with this field with python. Is there
some kind of command to do that ?
Thanks.

Just to be clear, nuke.selectedNode() is not what i am looking for.
more like nuke.selectedAtribute() Confused


_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

--
ben dickson
2D TD | [email protected]
rising sun pictures | www.rsp.com.au
_______________________________________________
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