I would run a python script on a noop node

navigate to /foo/bar/CAMERA1/   with nuke.getFilename()
than loop through it with nuke.getFileNameList() ....
first all folders and than the files... it will give you list of the files and their first and last frame...

it's basically just string formatting and looping through some lists...

hope this helps


Am 02.05.2013 16:07, schrieb Elias Ericsson Rydberg:
Maybe you could run a script on a selected read node. Have it get the path from the read and go to the camera folder. Have it list the folders in it, in other words list the passes. Then for each folder get the first file inside it. Load it in to nuke, replace .0001.exr with .%04d.exr and as a final step set the begin and end frame to the same value as the beauty.

Could that work?

/Elias

2 maj 2013 kl. 15:32 skrev Gary Jaeger <[email protected] <mailto:[email protected]>>:

I'm trying to think of a way to automate read nodes for common setups. For instance, suppose you had on disk:

´beauty/foo_camera1_beauty.%04d.exr , and always you had

/foo/bar/CAMERA1/ao/foo_camera1_ao.%04d.exr
/foo/bar/CAMERA1/rawLight/foo_camera1_rawLight.%04d.exr
/foo/bar/CAMERA1/depth/foo_camera1_depth.%04d.exr

Etc. Is there a way to load the first, and have the others autoload?

Also, same question but additionally you had

/foo/bar/CAMERA2/ao/foo_camera1_ao.%04d.exr
/foo/bar/CAMERA3/ao/foo_camera1_ao.%04d.exr

etc, each with the same passes. Is it possible to do a NoOp or something that will do this? I realize multichannel would have been better in this case, but it didn't work out for a variety of reasons.

Thanks!

Gary Jaeger // Core Studio
249 Princeton Avenue
Half Moon Bay, CA 94019
650 728 7060 <tel:650%20728%207060>
http://corestudio.com <http://corestudio.com/>

_______________________________________________
Nuke-users mailing list
[email protected] <mailto:[email protected]>, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to