It worked here. did you select any node ??

if you want to go for all without selecting try

for sel in nuke.allNodes("Read"):
  sel.knob("first").setValue(100)
  sel.knob("last").setValue(150)

howard's way works too, it is just an other way to write it


[email protected] wrote:
for sel in nuke.selectedNodes():

   sel.knob("first").setValue(100)

   sel.knob("last").setValue(150)

cheers

BillRay wrote:
Hi There,

I want to be able to set the first/last frames on all/selected read nodes using Python.

Does anybody have any ideas?

Many thanks!
BR
------------------------------------------------------------------------

_______________________________________________
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

_______________________________________________
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