bvfx Find Path v1.5


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Magno Borgo
This script will find the missing external files of your script and relink them. It will search the files on the informed disk or folder.
Requirements:
13.1, 12.2, 12.1, 12.0, 11.3, 11.2, 11.1, 11.0, 10 or later
Linux, Mac, Windows
15 Sep 2021
1924

v1.5 makes it compatible with Python 3 (nuke 13+)
v1.4 fixes some errors on Nuke v8 and handles multiple read nodes pointing to the same file (check version log inside file for more details)


This script will find the missing external files of your script and relink them (All nodes with ERROR from missing files)


How to use it and further automation (with english subtitles): http://youtu.be/mjlk6N2Ua90

Its was inspired by the work of my friend Dubi, (http://www.nukepedia.com/python/misc/findpath/), with the following improvements:

01. All Nodes that own a file property will be searched (Read, ReadGeo.... any node with a 'file' input)
02. Speed improvements, if you want you can start from the disk root folder without problems.
03. Added a progress bar, users can Cancel the task at anytime if its taking too long

Install:

Source and run the script in the script editor or add it to a menu. By default even the Write nodes will be considered, if you do not want to change Write Nodes, run the script with a False argument: 

 

bvfx_findPath() # normal use
bvfx_findPath(False) # this one excludes the Write nodes

 To add it to a menu, place this on your menu.py:

from bvfx_findPath import *
toolbar = nuke.menu('Nodes')
bvfxt = toolbar.addMenu('BoundaryVFX Tools')
bvfxt.addCommand('Locate files paths', 'bvfx_findPath(False)') 

 

 

 

 

 

Copyright (c) 2012, Magno Borgo All rights reserved. BSD-style license: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Magno Borgo or its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Please login in order to download these files.

Comments   

 
0 # Spencer Tweed 2016-07-30 00:50
Sweet! Just used this on a project with about 20 read nodes that were all linked to a server at another facility. Worked perfectly :-)

- Spencer
 
 
-1 # Lukasz Stolarski 2017-11-24 21:36
You Sir are a legend. Thank you :)
 
 
+2 # Gaurav Sinha 2021-04-12 10:18
Not working in Nuke V13
 

You have no rights to post comments

We have 3127 guests and 89 members online