Command line

Further Reading
See also Command Line Rendering (kick) in the Arnold User Guide

Arnold render can be executed from the Cinema 4D Command Line as well. Make sure Arnold is the active renderer in the render settings when you save your scene, then run the render command, as you'd typically do.

 Commandline.exe -render myscene.c4d -frame 0 100 -oimage myimage.exr -oformat exr 

There are some Arnold-specific arguments available:

For example, the following command outputs the Arnold debug log to /path/to/myscene.log:

 Commandline.exe -render myscene.c4d -frame 0 100 -oimage myimage.exr -oformat exr -arnoldLogLevel 3 -arnoldLogFile "/path/to/myscene.log" 

Scene Export

Scene export can be executed from the command line as well via the -arnoldSceneExport parameter, followed by the export options.

The following options are available:

For example, the following command exports frame range 10-20 of myscene.c4d to myscene.ass:

Commandline.exe -arnoldSceneExport "scene=c:\path\to\myscene.c4d;format=ASS;filename=c:\path\to\myscene.ass;startFrame=10;endFrame=20" 

Note that on Windows the export is executed in the background, therefore, you have no output in the console. You can redirect the output to a file using the > directive as follows:

Commandline.exe -arnoldSceneExport "scene=c:\path\to\myscene.c4d;format=ASS;filename=c:\path\to\myscene.ass;startFrame=10;endFrame=20" > export.log 2>&1 

Bake Texture

Baking textures from the command line requires the -arnoldBakeTexture parameter followed by the bake options.

The following options are available: