multiRead v1.2
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Howard Jones
Opens multiple read nodes similar to Shake's 'next' function. Nuke 6.3 (and 6.2?) now includes similar functionality as standard so is not necessary for these versions of Nuke.
Requirements:
5.0, 5.1, 5.2, 6.0, 6.1, 6.2, 6.3 or later
Linux, Mac, Windows
5.0, 5.1, 5.2, 6.0, 6.1, 6.2, 6.3 or later
Linux, Mac, Windows


Opens multiple read nodes similar to Shake's 'next' function. Read from multiple folders and at the end all selected files are read in, in one go.
example menu.py line...
m = toolbar.addMenu("Image", "ToolbarDraw.png")
m.addCommand( "multi Read", "nuke.load(\"multiRead\"), multiRead()",'ctrl+r' ,icon='Read.png')
v1.1 added still images ability
v1.2 added Nathan's suggestion
Howard
Please login in order to download these files.
Comments
I haven't set this up for single images though it does read .movs.
I will have a look and see what needs to be modified.
v1.1 should address the issue - thanks for the feedback
We have a function very similar to this in our internal library, and one thing I think would help you here is setting the file knob via its ".fromUserText( )" method instead of ".setValue()." This will actually open the file and get the start and end frames automatically, as well as set the format knob appropriately, so you wouldn't have to set any of that stuff yourself, or prompt the user to refresh anything.
Also, since we're Windows-based and Apple hates 64 bit platforms (and I ran into this same problem), I would recommend adding a check for a 64 bit Windows environment and ignoring any MOV paths if true (to prevent your script from tanking if a 64-bit Windows user accidentally selects a MOV to read).
Thanks for the insight - v 1.2 now includes the '.fromUserText' change.
RSS feed for comments to this post