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