Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    CLI Question

    SDK Help
    0
    3
    336
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      On 24/01/2017 at 01:02, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R18 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hi there,

      i hope this is the right place for my question...

      i know that it is possible to render a c4d scene just by using the Command Line Interface.

      But i want to know if there is a possibility to load a scene, then fire a phyton script and export to a new file format (e.g. fbx) only using the CLI without loading the GUI.

      Or is there another option for this (maybe develop something with c++) with no need to load the GUI?

      Thank you!

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        On 24/01/2017 at 02:48, xxxxxxxx wrote:

        Hi,

        Yes it's possible to run Cinema 4D in command line mode and to parse the command line arguments.
        It's recommended to use Commandline.exe instead of the normal CINEMA 4D.exe.
        In this recent thread on exporting to FBX from command line, there's a code snippet showing how to parse the passed arguments and export the file.

        Note there was an important issue exporting FBX files that has been fixed in R18 SP2 (R18.039).

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          On 24/01/2017 at 06:22, xxxxxxxx wrote:

          Thank you very much!

          That sounds good so far. I will have a look on that.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post