Well I've found that these knobs will appear out of nowhere on nodes that have animation that otherwise time shifts fine. With the Obsolete_Knob, it appears as a duplicate of an existing knob. If you time shift the other knob, the Obsolete_Knob will suddenly update and be fine by itself. But if you for...loop all nodes, it errors and kills the script. So I have to find all these special case knobs so I can work around them. I found Link_Knob on a group node that used to be a gizmo, but when I just take apart that node by itself it doesn't show up.
On Wednesday, December 18, 2013, Howard Jones wrote: > Dumb question but if they dont take animation then you can't timeOffset > them anyway can you? > > > On 18 Dec 2013, at 17:15, Den Serras <denserras...@gmail.com<javascript:;>> > wrote: > > > I've written a very long and convoluted script that will, in theory, > time offset anything in a script by shifting animation, rewriting > expressions, changing Roto lifetime values and occasionally resorting to > paired TimeOffets when nothing else will work, like on ReadGeos. I've > discovered, though, that there are at least two types of knobs which don't > exist when you for loop a node's knobs alone but which show up when you > loop them in a script: Obsolete_Knob and Liink_Knob. What makes these knobs > problematic is that they don't take animation, so if you do a .isAnimated() > on them, the script will error out. My question: does anyone know of any > more knobs like this? I discovered these by offsetting as many scripts as > possible, but I can easily be missing stuff. > > > > Thanks! > > Den > > _______________________________________________ > > Nuke-python mailing list > > Nuke-python@support.thefoundry.co.uk <javascript:;>, > http://forums.thefoundry.co.uk/ > > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > _______________________________________________ > Nuke-python mailing list > Nuke-python@support.thefoundry.co.uk <javascript:;>, > http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python