I guess I could use a Retime node instead, but it seems odd why TimeClip doesn't work.
* external, not extranal...* ------------------------------- Simon Björk Compositor/TD +46 (0)70-2859503 www.bjorkvisuals.com 2015-12-20 14:41 GMT+01:00 Simon Björk <[email protected]>: > I'm having problems controlling values of a TimeClip node using the Nuke > module in an extranal IDE (Sublime Text). The following code works as > expected if I run it in the script editor, but if I run it from Sublime the > values don't stick (even though they're picked up when printing the value). > > Is this a bug or am I missing something? I can't see any callbacks related > to the TimeClip, but it looks like the root nodes first/last frame are > overriding my values. > > Code: > > import nuke > > t = nuke.createNode("TimeClip") > t["last"].setValue(20) > > to = nuke.createNode("TimeOffset") > to["time_offset"].setValue(500) > > nuke.scriptSave("D:/tmp.nk") > > /Simon > > > > ------------------------------- > Simon Björk > Compositor/TD > > +46 (0)70-2859503 > www.bjorkvisuals.com >
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
