Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Multiexcerpt
MultiExcerptNamescene_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:

  • scene: Path of the C4D scene file which needs to be exported. This parameter is mandatory.
  • format: Output file format, ASS or USDIf not specified, the plugin guesses the format from the file extension.
  • filename: Path of the output file. If not given, the file is written next to the c4d scene file.
  • compressed: If given the scene is exported directly to gzip-compressed files (.ass.gz). Only for ASS format.
  • asciiAss: If given values exported to a standard text format, if not given (default) binary encoding is used. Only for ASS format.
  • expandProcedurals: If given procedurals will be expanded before exporting the scene.
  • exportObjectHierarchy:If given the whole hierarchy (children) of the selected objects is exported.
  • mask: Specifies which Arnold node types are included in the .ass export. See the AtNodeEntry page of the Arnold API for the available node types.
  • exportType: Specifies which objects are exported. Possible values are:
    • 0: all
    • 1: selected
    • 2: selected individually
  • startFrame: Specifies the start frame to be exported. When not given Start Frame from the render settings is used.
  • endFrame: Specifies the end frame to be exported. When not given End Frame from the render settings is used.
  • frameStep: Specifies the increment between frames. When not given Frame Step from the render settings is used.
  • camera: You can override active scene camera by this option by specifying the name of the camera. Note that camera names must be unique otherwise always the first camera with the same name is used. 
  • take: Specifies the take to be exported. Alternatively you can use the -take argument instead of this option.


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

Code Block
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:

Code Block
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

...

Privacy settings / Do not sell my personal information / Privacy/Cookies