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

    Retrieving Process ID

    SDK Help
    0
    3
    327
    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 10/03/2016 at 14:24, xxxxxxxx wrote:

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

      ---------
      Hi,

      Is there a C4D API call for retrieving the PID given a process name? Our plugin spawns a new process when we do IPR (re-rendering) and we need to figure out if the process is still alive.

      Thanks!
      Ian

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

        On 11/03/2016 at 01:33, xxxxxxxx wrote:

        Hello and welcome,

        are you talking about threads or processes? As far as I know the Cinema API does not handle processes so you would probably have to use OS functions.

        Best wishes,
        Sebastian

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

          On 11/03/2016 at 07:43, xxxxxxxx wrote:

          Hi Sebastian,

          Yeah, I was talking about processes. That's too bad. 😞

          Ian

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