You can use the setAnimated() knob method, and then the setValueAt(value, frame_number) .
On Fri, Mar 11, 2011 at 9:14 AM, Jep Hill <[email protected]> wrote: > For example, I'm looking to create a crop node with crop values that animate > over time so I start with: > > c=nuke.nodes.Crop(name=test) > c['box'].setValue([0,0,1920,1080]) > > But this just gives me a static HD crop -- what's the best way (in Nuke 6.2) > to animate these values at node generation time via python? > > Do I need to use nuke.animation? I'm not looking to bake out an expression; > merely set some specific keyframes for the different crop values throughout > the frame-range at the time the node is created. > > I'm willing to bet this a no-brainer and and I'm just missing the obvious! > > A simple example would be much appreciated. > > Cheers, > Jep_______________________________________________ > Nuke-python mailing list > [email protected] > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > _______________________________________________ Nuke-python mailing list [email protected] http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
