You're welcome ;) I've just updated the code https://gist.github.com/maty974/c076ff829063f70db3d9 as Aurélyen asked me why I do the nodeCopy/Paste step, so I've tested to fool Nuke in other way, now instead of copy/paste the Node to get all the Animated curves updated, I just change the node knob 'frame_rate' value, and magically the new curves are loaded :P
so no more need to copy paste ! On Thu, Jun 11, 2015 at 3:19 PM, Simon Björk <si...@bjorkvisuals.com> wrote: > Ah of course, that should work. Thanks a lot Matthieu! > > > > ------------------------------- > Simon Björk > Compositor/TD > > +46 (0)70-2859503 > www.bjorkvisuals.com > > 2015-06-11 15:17 GMT+02:00 Matthieu Cadet <matthieu.ca...@gmail.com>: > >> Cool, glad to see it works for Camera too. >> >> The nodeCopy/Paste trick is just to mimick what I've tested before start >> to script, after I've set the flags and Execute >> the Reload button, I've just Ctrl+X and Ctrl+V the node to see if the >> curves in CurveEditor get updated, and curves was >> updated after that so I've script it like that. >> >> Maybe there is another way to do it, but for me it is fine like this :) >> >> >> On Thu, Jun 11, 2015 at 2:39 PM, Aurélyen Daudet <adau...@artfx.fr> >> wrote: >> >>> Hi, >>> >>> the Flag solution is really smart ! A good decoy to fool Nuke. >>> It works quite fine with Cameras and FBX, as far as I've seen with my >>> quick tests. >>> The nodeCopy() and nodePaste() bit are to get rid of the mofified knobs >>> that become greyed and no more editable ? >>> (file, fbx_take_name, and fnx_node_name ) >>> >>> Thanks. >>> >>> >>> -- >>> Aurélyen DAUDET - Enseignant Nuke et Compositing >>> adau...@artfx.fr - www.artfx.fr - blog.artfx.fr >>> >>> >>> >>> On 11 June 2015 at 10:30, Matthieu Cadet <matthieu.ca...@gmail.com> >>> wrote: >>> >>>> Hi ! >>>> >>>> I've tested lot of stuff yesterday to find a solution, because in our >>>> studio we are using a lot of FBX file loaded in Axis node, and >>>> the same popup message don't allow me to script automation for changing >>>> FBX file from shot to another easily. >>>> >>>> I came with a little hacky solution, tested only with Axis node loaded >>>> with FBX file, so I hope this will also work for you guys with >>>> Camera node ;) >>>> >>>> https://gist.github.com/maty974/c076ff829063f70db3d9 >>>> >>>> >>>> >>> >>> _______________________________________________ >>> 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 >>> >>> >> >> >> -- >> Matthieu Cadet >> Compositor Artist & TD, >> nWave Digital >> matthieu.ca...@gmail.com >> >> _______________________________________________ >> 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 >> >> > > _______________________________________________ > 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 > > -- Matthieu Cadet Compositor Artist & TD, nWave Digital matthieu.ca...@gmail.com
_______________________________________________ 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