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
    1. Maxon Developers Forum
    2. popandchop
    The Maxon SDK Team is currently short staffed due to the winter holidays. No forum support is being provided between 15/12/2025 and 5/1/2026. For details see Maxon SDK 2025 Winter Holidays.
    P
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    popandchop

    @popandchop

    0
    Reputation
    4
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    popandchop Unfollow Follow

    Latest posts made by popandchop

    • Render to picture viewer from plugin crash

      Hey guys,

      This is probably a very simple question and i suspect to do with threading. I have a little workflow tool i'm working on and have this Render to Picture Viewer button.

      0467208b-a101-445e-8472-3c2c8ccecbb0-image.png

      The code behind this button is as simple as this

      if id == BTN_SceneRenderPictureViewer:
                  
                  self.PrintStatusMessage('Rendering to Picture Viewer.')
                  self.Close()
                  c4d.StopAllThreads()
                  time.sleep(0.1)  # Wait a bit to ensure the dialog is closed before rendering
                  c4d.CallCommand(12099)
      

      However this causes Cinema to crash. I've tried recreating the Render to Picture viewer function but this was seems much simpler so would be great for it work - any help appreaciated 🙂

      Thanks alot,
      Will

      posted in Cinema 4D SDK windows python 2025
      P
      popandchop