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

    Start a render with script

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 322 Views
    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 Offline
      Helper
      last edited by

      On 13/01/2017 at 09:38, xxxxxxxx wrote:

      Hi , 
      I have mad a simple script to change the save path  , but to increase the functionality of the script I would like to make the script start the render in the picture viewer when clicked .
      is this possible ? 
      if it is possible in which part of documentation I can find about it , because the render documentation only described the render settings ....

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

        On 13/01/2017 at 10:32, xxxxxxxx wrote:

        The simplest way to start a render is using this: c4d.CallCommand(12163) #R13 Render View command

        But there is also the RenderDocument() function.
        https://developers.maxon.net/docs/py/2023_2/modules/c4d.documents/index.html?highlight=renderdocument#c4d.documents.RenderDocument

        -ScottA

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

          On 13/01/2017 at 11:33, xxxxxxxx wrote:

          thank you very much 😄
          I forgot about the script log , in my case it was   :
            c4d.CallCommand(12099, 12099) # Render to Picture Viewer

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