readwrites.py for Nuke5.1vX*
Now it also allows you to set the default behavior for what it should do when there is a empty writer or nothing selected without prompting you each time. By default it won't do nothing if a write node or the selection is empty.
If you don't pass any argument it will assume the defaults, but if you want to change that (which you most likely will) just pass 4 arguments to it:
readwrites(blankread, check, threshold, report)
blankread (boolean):
Set to True it will create blank Read nodes for empty selections and Write nodes.
- Default is False which will do nothing.
check (boolean):
Set to True it will check the sequence for bad frames and color the node in Red if
something is found, if set to False it will skip the check intirely and ignore the other
arguments (threshold and report).
- Deafult is True
threshold (integer):
This sets the threshold value in bytes for the bad frames check.
- Default is 100000 bytes
report (boolean):
Set to True will print a report of the bad frames found by the check, False will do nothing.
This will only be consider if the check argument is set to True.
- Default is True
* Should be working fine with Nuke5.0vX now
Invisible menu entry for the menu.py so you can call it using a shortcut Alt+R
m = nuke.menu("Nuke")
n = m.findItem("Edit")
n.addCommand("@;Read Writes", "userscripts.readwrites()", "Alt+R")
Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.