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
    1. Maxon Developers Forum
    2. glasses
    3. Topics
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 11
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by glasses

    • G

      Creating a 'Reload Image' button

      Cinema 4D SDK
      • • • glasses
      6
      0
      Votes
      6
      Posts
      1.1k
      Views

      S

      Hello,

      if in doubt, one can always call c4d.StopAllThreads() before editing the active document from some user interaction in the main thread. This call will terminate other threads that may also currently use the active document (e.g. viewport rendering).

      best wishes,
      Sebastian

    • G

      ObjectData plugin not rendering to picture viewer

      Cinema 4D SDK
      • • • glasses
      6
      0
      Votes
      6
      Posts
      998
      Views

      S

      Hello,

      as now said multiple times, GetActiveDocument() must not be used, but GetDocument() instead.

      What is the point of your In/Exclude list? Are these the objects you "rotate along the timeline"?

      This is typically not how a ObjectData object works; it generates objects based on its child objects or deforms objects in its hierarchy. It is not supposed to move arbitrary other objects.

      As mentioned above, a tag plugin may be the better solution. The "look_at_camera" example show such a plugin rotating its host object.

      best wishes,
      Sebastian

    • G

      Updating ObjectData plugin only on timeline change

      Cinema 4D SDK
      • r20 python • • glasses
      6
      0
      Votes
      6
      Posts
      894
      Views

      G

      Fantastic, Thank you for the suggestions, ObjectDataOptimizeCache(true) does what I need.