Path Switch v1.1


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: diogo dubiella
When open your nuke comp... This script automatically switches the paths when identify the Os (Windows, MacOs, Linux). So you can open your nuke comp or send to a network render independent of your Os.
Requirements:
4.8, 5.0, 5.1, 5.2, 6.0, 6.1, 6.2, 6.3, 7.0 or later
Linux, Mac, Windows
19 Sep 2012
285


Path Switch 1.0
When open your nuke comp... This script automatically switches the paths when identify the Os (Windows, MacOs, Linux).
So you can open your nuke comp or send to a network render independent of your Os.

Instalation
Copy pathSwitch.py to YourNukeRootFoder/plugins/
Copy pathSwitch.png to YourNukeRootFoder/plugins/icons/
Append to Menu.py in YourNukeRootFoder/plugins/

 

1
2
3
4
5
6
import pathSwitch
 
# Nuke Path Switch
m = nuke.menu( 'Nodes' )
m.addCommand("Path Switch", "pathSwitch.pathSwitch()" , icon='pathSwitch.png')
m.addCommand("Path Switch/pathSwitch", "pathSwitch.pathSwitch()" , icon='pathSwitch.png')

Startup
Node Menu

Path Switch will create a node named "pathSwitch"

And will create a script in your "onScriptLoad"

All this verify the Os, and changes the paths of all nuke nodes: 'Reads' and 'Writes' nodes.
And apply the corresponding path.

You have to configure each path corresponding the each OS
(To working correctly, always hold in your nuke comp the 'pathSwitch' node.)

Now every time you switch the Os or submit your job to others Os's, the Path Switch will find and replace the last path to the current path.

v1.1
- Bug fixed. When script load. Line 7

Please login in order to download these files.

You have no rights to post comments

We have 3142 guests and 95 members online