Hi, I'm new with python for nuke and relative new in python, I want to get
information every frame from a tracking node. The translate knob.
This is my code:
trans = [ ]
range = nuke.FrameRange(nuke.root().firstFrame(), nuke.root().lastFrame(),
1)
for i in range:
global trans
nuke.Root().setFrame(i)
print i
curframe = nuke.frame()
b = nuke.selectedNode()["translate"].value()
trans.append(b)
print trans
But I keep getting the information of the first frame every iteration and
not the information of the current frame.
Any idea? thanks!
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python