Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    How to use c4dpy for Cinema4D R20 SP1

    Cinema 4D SDK
    6
    18
    9.0k
    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.
    • a_blockA
      a_block
      last edited by

      Thanks Donovan for your elaborate description.
      I'll notify in this thread as soon as the section about c4dpy got added to the Python SDK docs.

      One reminder:
      Please help us to keep this place tidy and make use of the available tags, when posting. For this thread I already added some.

      1 Reply Last reply Reply Quote 0
      • G
        GiuseppeLecis
        last edited by GiuseppeLecis

        Hello everyone,
        Someone have tested this workflow on mac? I'm trying to do it on a mac but i can't setup the IDE. Probably the problem is my lack in terminal shell usage but i don't know if possible to execute a .exe file via shell on a mac system. When i drag the c4dpy.app file into the shell and after pressed enter i don't see this "Welcome to the world of C4D and Python 2.7.14 (default, May 3 2018, 18:05:57) [MSC v.1500 64 bit (AMD64)] (c) 2018" but this " -bash: /Applications/MAXON/Cinema 4D R20/c4dpy.app: is a directory". If i drag the c4dpy.exe the result is: -bash: /Applications/MAXON/Cinema 4D R20/c4dpy.exe: cannot execute binary file
        Going on i can't set up the environment properly. Someone could help me please? thanks in advance

        G.L.

        1 Reply Last reply Reply Quote 0
        • A
          alfieB
          last edited by

          Hi Giuseppe,
          After the instruction from dskeithbuck, i set up on both windows and mac. With mac its a little different due the way the os packages things. You are getting the error message because the .app is indeed a directory. Open it by right click -> Show package contents -> Contents -> MacOS and in there is the executable you need.

          Hope this helps.

          Alfie

          G 1 Reply Last reply Reply Quote 1
          • G
            GiuseppeLecis @alfieB
            last edited by

            @alfieb Thank you so much for your kindly reply! I have solved thanks to your suggestion :-)!

            1 Reply Last reply Reply Quote 0
            • a_blockA
              a_block
              last edited by

              Hello,

              we have updated the Python SDK documentation including c4dpy instructions.
              Let us know, if you are missing something in there.

              Cheers,
              Andreas

              1 Reply Last reply Reply Quote 0
              • T
                tychris
                last edited by

                I haven't been able to get c4dpy.exe to run without throwing an 0xC5 access violation error. I have the latest .exe downloaded and placed next to all the other C4D R20 executables, and my R20 instance is running R20.028. Does c4dpy.exe need to be updated for R20.028? I see lots of "UNKNOWNBUILDID" messages in stdout.

                1 Reply Last reply Reply Quote 0
                • a_blockA
                  a_block
                  last edited by

                  Hi,

                  I'm terribly sorry for the inconvenience caused. You are right c4dpy needs to be updated for the latest hotfix (Cinema 4D R20 SP1, 20.028). Unfortunately due to our travels I had failed to upload the file. Sorry!
                  The updated version is now available on our blog's download page[URL-REMOVED].

                  Bye,
                  Andreas


                  [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.

                  mikeudinM 1 Reply Last reply Reply Quote 0
                  • T
                    tychris
                    last edited by

                    Cool! Thanks very much. That's working for me now.

                    1 Reply Last reply Reply Quote 0
                    • mikeudinM
                      mikeudin @a_block
                      last edited by

                      @a_block could you update the link to latest version of c4dpy here?
                      https://developers.maxon.net/docs/py/2023_2/misc/c4dpy.html

                      Checkout my python tutorials, plugins, scripts, xpresso presets and more
                      https://mikeudin.net

                      1 Reply Last reply Reply Quote 0
                      • a_blockA
                        a_block
                        last edited by

                        @mikeudin Thanks for making us aware. We'll change the link with the next docs update.

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