User Manual

Table Of Contents
For example, test%04t.tga would return the following values at render time:
test0000.tga
test0001.tga
test0009.tga
test0010.tga
You may also pad a value with spaces by calling the wildcard as %x, where x is the number of
spaces with which you would like to pad the value.
Start and End Tabs
The Start and End tabs contain a file browser for a command to be run when the composition
starts to render and when the composition is done rendering.
Example
To copy the saved files from a render to another directory as each frame is rendered,
save the following text in a file called copyfile.bat to your C\ directory (the root folder).
@echo off
set parm=%1 %2
copy %1 %2 set parm=
Create or load any node tree that contains a Saver. The following example assumes a
Saver is set to output D\ test0000.exr, test0001.exr, etc. You may have to modify the
example to match.
Add a Run Command node after the Saver to ensure the Saver has finished saving first.
Now enter the following text into the Run Command node’s Frame Command text box:
C\copytest.bat D\test%04f.exr C\
Select the Hide Frame command checkbox to prevent the Command Prompt window
from appearing briefly after every frame.
When this node tree is rendered, each file will be immediately copied to the C\
directory as it is rendered.
The Run Command node could be used to transfer the files via FTP to a remote drive
on the network, to print out each frame as it is rendered, or to execute a custom
image-processing tool.
The Run Command node is not restricted to executing simple batch files. FusionScript,
VBScript, Jscript, CGI, and Perl files could also be used, as just a few examples.
Chapter – 100 Miscellaneous Nodes 2227