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

    Getting current render progress or bucket count?

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 424 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 26/03/2013 at 11:59, xxxxxxxx wrote:

      Hi,

      I'm trying to get the current frame's render progress when running C4D in CLI mode:

      start /b /wait "parentconsole" "C:\PROGRAM FILES\MAXON\CINEMA 4D R13\CINEMA 4D 64 BIT.EXE" -nogui […]
      

      As there is no progress information during rendering (see below) I've checked the SDK and Python API for information on how to get the current render progress or, in absence of render progress, the counts of total and done buckets for the current frame, but I couldn't find anything.

      c4d.CheckIsRunning
      

      couldn't help, either, as it gives no further progress information.
      Any suggestions are appreciated 🙂

      Console output:

      Starting CINEMA 4D 13.061 ...
      Startup Directory: C:\Program Files\Maxon\CINEMA 4D R13
      Write Directory: C:\Users\Fietie\AppData\Roaming\MAXON\CINEMA 4D R13_05DFD2A0
      Preferences Directory: C:\Users\Fietie\AppData\Roaming\MAXON\CINEMA 4D R13_05DFD2A0\prefs
      VrayBridge SetPath Ok
      ------WFCam4D 1.1.6.15------
      Resource Loaded!
      Registered!
       - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
      VrayForC4D Win64 1.2.6.1 www.vrayforc4d.com
       - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
      Load Completed!
      COFFEE ERROR!
      (124) Syntax error
      File: CreateVrayProxy.cof
      Line: 60
      Row: ~25
      --------------------------------------------------------------------------------------------
       RockGen 0.92 successfully loaded. Keep on Rocking! :-)
      --------------------------------------------------------------------------------------------
      == NextLimit RealFlow plug-in v2.2.5 ==
      Loading Project: C:	emp\file.c4d
      Rendering frame 1080 at <Mon Mar 25 11:33:15 2013>
      ------WFCam4D 1.1.6.15------
      Optimal frame size for Azimuthal Equidistant camera: (1024, 1024).
      Rendering frame 1081 at <Mon Mar 25 11:33:18 2013>
      […]
      Rendering successful: 53.024
      
      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 28/03/2013 at 05:20, xxxxxxxx wrote:

        Hi, there is no built-in solution to make this, maybe just with a hack or a workaround.

        Cheers, Seb

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

          On 28/03/2013 at 06:49, xxxxxxxx wrote:

          with bucket count you mean finished buckets i guess, not the number of rendering buckets ?
          the number of rendering buckets is just the number of your cores -> multiprocessing.cpu_count()

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