can't... edit... emails... Found that Nuke 9 *CLI* didn't load my callbacks
On Fri, Dec 4, 2015 at 2:50 PM, Den Serras <denserras...@gmail.com> wrote: > Hey Hilsen - that was my original setup. But I found that Nuke 9 didn't > load my callbacks and node defaults which I use to customize the raw > script, even though they're started by the init.py (not the menu.py). > > What I'm aiming for is to solve a workflow problem - for programmers to > not have to remember to push changes by making a new template with GUI nuke > or update a separate script. I'm thinking maybe I'll have a .bat which > updates the template automatically by launching the GUI nuke and a .py > script which resaves it. That bat can be run any time the code is updated > in GIT... > > On Wed, Dec 2, 2015 at 10:23 PM, Jimmy Christensen <ji...@ghost.dk> wrote: > >> Have you thought about opening a .py file with the Nuke command line? It >> will simply execute it. I believe you can even read in the template file at >> the very beginning and end with a nuke.scriptSaveAs(location). >> >> I use this to batch convert images etc. The whole script is built from >> scratch using python (from inside nuke). >> >> Hilsen >> Jimmy Christensen >> Developer >> Ghost A/S >> >> >> On 01/12/15 17:38, Den Serras wrote: >> >>> Hi all, >>> >>> Due to our pipeline, we have to create the Nuke file for the artist. We >>> currently create a template which is duplicated and moved into the >>> correct spot, but I'd prefer to do it more dynamically so every time I >>> push a change to the setup I don't have to generate a new file. I tried >>> launching the CLI and then saving the file, but none of my init scripts >>> that actually modify the file seem to be running in the CLI. Don't know >>> if I'm doing something wrong or this method won't work. Anyone have a >>> dynamic way to create a script, or are those who prebuild scripts always >>> using templates? >>> >>> Thanks! >>> Den >>> >>> >>> _______________________________________________ >>> 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 >> > >
_______________________________________________ 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