I have used the following code after selecting a camera node with animation on it. The k.value() that it prints out stays the same for all frames even though it is different. If I change frames manually and run this with out for loop I get the expected results. I am using nuke 6.3v1.



axis_node = nuke.selectedNode()

for i in range(680, 700):

nuke.frame(i)

k = axis_node['translate']

print 'k.value() = %s' %k.value()



Thanks,
Jon Speer

_______________________________________________
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