Hello! I was am trying to copy over cornerpin data into a new tracker node
w/ 4 tracks that have the copied animations. I'm running into issues
trying to python with the new Tracker node. I finally figured out how to
add a track with .execute() but now I need to copy over an animation curve
into the newly created tracks.
Here's the code I am working on. How do I get python to assign the added
track to a variable? then How do I copy that animation over? I couldn't
fine any documentation about working with the new Tracker node.
cornerPin = nuke.selectedNode()
c1 = cornerPin['to1']
tracker = nuke.createNode('Tracker4')
tracker['add_track'].execute()
t = tracker['tracks']
c1.copyAnimations(t.animations(t['track_2']))
Thanks.
--
*Greg Radcliffe*
Compositor
*
*
www.phosphenefx.com
www.gregradcliffe.com
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python