writeLauncher v1.1


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Simon Moreau
Allows you to launch several renders one after the other even if they are not from the same script
Requirements:
9.0, 8.0, 7.1, 7.0 or later
Windows
28 Jan 2016
215

This script allows you to launch several renders one after the other even if they are not from the same script.

It saves the render command in a .bat file that you can run later.

 

How to use :

 

In your script, selection the writes nodes you want to render and launch the script. Choose where to save the .bat file and the option.

Click 'launch later'

 

Go to an other script, selection your write node, launch the script and choose the save file location.

 

Do this operation for as many script as you want.

When you're ready, just double click the .bat file or click 'render now' the last time you run the script.

Option :

multiwrite : render all the write in the same time and not one after the other.

Increments writes : increment you file version if writen like : _v001

 

######

 

To install :

Copy the 'writeLauncher.py' in your .nuke folder or any folder read by nuke at startup

add this line to your 'menu.py' :

 

nuke.menu( 'Nuke' ).addCommand( 'myMeny/writeLauncher', 'import writeLauncher\nwriteLauncher.writeLauncher(nuke.selectedNodes())' )

 

Of course, you can change 'myMenu' by the menu name you want.

Thanks !

If you have any question, just ask !

Please login in order to download these files.

Comments   

 
0 # Raffaele Amici 2016-01-25 18:15
i get the following error:

Traceback (most recent call last):
File "", line 9, in
ImportError: No module named renderIncrement

why?
 
 
+2 # Frank Rueter 2016-01-25 20:29
looks like Simon folded the renderIncremene t function into the writeLauncher module, but forgot to remove the import line.
Simpley open writeLauncher.p y and remove line 9, that should work.
Simon, it'd be great to upload a fixed version if you can find the time.
 
 
0 # Simon Moreau 2016-01-26 20:48
I guys ! Thx a lot for reporting the bug !

I didn't see your comment in the first time sorry about that !

Just updated a fixed version ;)
 
 
0 # Sean Kalra 2016-01-26 23:20
Just got this error:

unexpected character after line continuation character (, line 1)
 
 
0 # Simon Moreau 2016-01-26 23:29
Well, that's weird, I don't have this error... When does it happens ? When you run the script or when you click one of the two buttons ?
 
 
0 # Sean Kalra 2016-01-26 23:32
When I run the script
 
 
0 # Simon Moreau 2016-01-26 23:33
Are you sure it's not a problem in your menu.py ? How did you add the command in the menu.py ?
 
 
0 # Sean Kalra 2016-01-26 23:36
I just added - nuke.menu( 'Nuke' ).addCommand( 'myMenu/writeLa uncher', 'import writeLauncher\w riteLauncher.wr iteLauncher()' ) to my menu.py
 
 
0 # Sean Kalra 2016-01-26 23:38
Sorry my bad, I am using this on a mac so may have to modify it.
 
 
0 # Simon Moreau 2016-01-26 23:40
Oh yeah...

I don't have mac to try it, but if you want to adapt it for mac, I would really like to help as I can !
 
 
0 # Sean Kalra 2016-01-26 23:47
Thanks, I will let you know. :)
 
 
0 # Simon Moreau 2016-01-26 23:50
But by the way, I think you missed a "n" in the line you added to your menu.py

nuke.menu( 'Nuke' ).addCommand( 'myMenu/writeLa uncher', 'import writeLauncher\nwriteLauncher.w riteLauncher()' )

:)
 
 
0 # Sean Kalra 2016-01-26 23:55
I copied it from the description so you may want to update it there as well. I don't get that error anymore but still getting some other error message, probably due to the modules being named differently on mac. Thanks! :)
 
 
0 # Simon Moreau 2016-01-27 00:45
I should reread better....
 
 
0 # gabriele mambretti 2016-01-28 14:37
i added
import writeLauncher_nukepedia
nuke.menu( 'Nuke' ).addCommand( 'Custom Command/writeLa uncher', 'writeLauncher_ nukepedia.write Launcher()' ) to my menu.py

And i added a line in the first line of def writeLauncher() :

nodes = nuke.selectedNodes()

It seems to work
 
 
0 # Simon Moreau 2016-01-28 18:22
Sorry, my mistake again !

Just updated the line to copy in the menu.py

:)

Thanks for reporting the bug !
 

You have no rights to post comments

We have 3012 guests and 96 members online