How to make node eval knobs after setValue?

Hi,

I have hundreds of trackers to matchmove or stabiliz one sequence. I want to swtich them, set the ‘transform’ and the reference frame by scripting. However when I use the following script it doesn’t evaluate even the number in the knobs appears changed. the image still have no effects, it doesn’t move! But if I manually double click the node to make it active. Then run the script, it works!

Code:

tracker = toNode('Tracker1')
tracker['reference_frame'].setValue(2332, 0, 2332, 'Viewer1')
tracker['transform'].setValue('stabilize')


Anyone have idea why this happens?

Thanks

No Responses to “How to make node eval knobs after setValue?”

Post a Comment