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
    • Recent
    • Tags
    • Users
    • Login

    Is multiprocessing possible ?

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 292 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 22/09/2013 at 12:51, xxxxxxxx wrote:

      Hello,

      As I know, the Python scripts runs on a low priority level thread and are not very powerfull for big calculation.

      I heard about the multiprocessing library available on Python to use all the CPU capacity, but I cannot made it work in Cinema 4D, I get pickling error and don't really understand how it works.

      Does anyone has been able to use the multiprocessing library on C4D ? Is it possible ?

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

        On 24/09/2013 at 02:42, xxxxxxxx wrote:

        Hi César,

        due to the way how Python Plugins are imported, it is not possible to use the
        multiprocessing module in Cinema 4D. Maybe it is with a huge workaround, but
        it is not officially supported.

        Best,
        -Niklas

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

          On 26/09/2013 at 05:59, xxxxxxxx wrote:

          Thanks for your answer.

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