If you ever wondered how you could speed up Octane's ORBX export, here is a handy tip:

Octane supports the export via the commandline and "no GUI" versions of Cinema 4D.
What's even more interesting is that the export via commandline speeds up the procedure by up to 15 times! 
Reason for that partly is Cinema 4D's viewport does not have to be re-drawn for every frame.  
With this tutorial I'll show you how you can write a small batch file, which will automatically export an ORBX from your Cinema 4D file simply by right-clicking the file in the Windows Explorer.
An ORBX file with the same name will appear next to your C4D file.

This workflow should work with any Cinema 4D version and was tested with Octane 2020.2.3 R3 and above.
method 1: using cinema 4d'S "no Gui" version
• Open Windows Explorer
• In the adress bar just type in sendto and hit enter
• In the SendTo folder right-click and choose New -> Textfile
• Change the name of the file to ORBX
• Open the text file and paste in this:
@echo off
set c4d="
C:\Program Files\MAXON\Cinema 4D R23\"
set inputname=%1
set outputname=%~dpn1.orbx
echo Convert %inputname% to %outputname%
echo please wait...
cd %c4d%
%c4d%"Cinema 4D.exe" "%inputname%" -nogui -exportORBX "%outputname%"
echo ORBX EXPORT FINISHED!
echo Have a nice day.
pause
• Change the folder location of your Cinema4D installation in the 2nd line (marked red) to your actual destination
• Hit save
• Now change the file-format of the text document from .txt to .bat
• Done!
When you navigate to your Cinema 4D File, which you want to export as an ORBX via the Windows Explorer, just right-click on it and choose Send to -> ORBX.bat and wait for the export to be finished. 

When it's done, press any key on the keyboard to close the commandline window.
Method 2: Using Cinema 4D'S Commandline.exe version
If you want to use Cinema 4D's Commandline version instead (for example called via Thinkbox Deadline) then use the following code instead. Please note that the commandline version will show a lot more information in the commandline window and even some errors, however these will most likely not alter the result.
• Open Windows Explorer
• In the adress bar just type in sendto and hit enter
• In the SendTo folder right-click and choose New -> Textfile
• Change the name of the file to ORBX_cmd
• Open the text file and paste in this:
@echo off
set c4d="
C:\Program Files\MAXON\Cinema 4D R23\"
set inputname=%1
set outputname=%~dpn1.orbx
echo Convert %inputname% to %outputname%
echo please wait...
cd %c4d%
%c4d%"Commandline.exe" g_modulePath="%%{g_startupPath}/corelibs;%%{g_startupPath}/plugins" "%inputname%" -nogui -exportORBX "%outputname%"
echo ORBX EXPORT FINISHED!
echo Have a nice day.
pause
• Change the folder location of your Cinema4D installation in the 2nd line (marked red) to your actual destination
• Hit save
• Now change the file-format of the text document from .txt to .bat
• Done!
When you navigate to your Cinema 4D File, which you want to export as an ORBX via the Windows Explorer, just right-click on it and choose Send to -> ORBX_cmd.bat and wait for the export to be finished.

Another benefit of the Commandline.exe is that it is showing the frame progress, too.
Troubleshooting
A tip: If the export fails, it would be a good idea to first try it with Cinema 4D's GUI enabled. 
For this, just delete the "-nogui" parameter from the batch file, like this:
@echo off
set c4d="
C:\Program Files\MAXON\Cinema 4D R23\"
set inputname=%1
set outputname=%~dpn1.orbx
echo Convert %inputname% to %outputname%
echo please wait...
cd %c4d%
%c4d%"Cinema 4D.exe" "%inputname%" -exportORBX "%outputname%"
echo ORBX EXPORT FINISHED!
echo Have a nice day.
pause

Now, an instance of Cinema 4D will be opened and the export started right after. 

A 2nd tip: If you want the Commandline window to automatically close after export, just remove the "pause"  parameter in the last line.

If something does not work or you have some additional comments or suggestions, please feel free to write me a mail using the form on my contact page or directly to info+orbx@dinomuhic.com
Also, if anyone is interested to write this guide for MacOS and the terminal app, feel free to send it to me and I'll gladly include it in here. 
Back to Top