Discussed here: http://forums.thefoundry.co.uk/phpBB2/viewtopic.php?t=8245

tl;dr: The 'tracks' knob is not exposed to Python as an Array_Knob or subclass 
thereof, and Array_Knob is the class that defines .animation(), .animations(), 
.copyAnimations(), etc.

-Nathan



From: Noggy 
Sent: Wednesday, February 27, 2013 3:07 PM
To: [email protected] 
Subject: [Nuke-users] Re: Python with new Tracker

Ok. This is really confusing for me.

I'm trying to source the track's animation curve. Now I'm having trouble 
getting that curve in order to do a copyAnimation() operation on. 

The use of Columns makes sense now but getValue(), I believe/could be wrong, 
only gets one integer returned. Where I need to get the whole curve with both 
XY values. I thought .animations() would work but doesn't, I get

AttributeError: 'Knob' object has no attribute 'animations'

Hmmmm, any help?


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

Reply via email to