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. android
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    android

    @android

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

    android Unfollow Follow

    Latest posts made by android

    • RE: Controlling tessellation of c4d.SplineObject in python

      Thanks guys! This is exactly what I was looking for. I couldn't find any reference to the interpolation and sub settings but this solved it! I am curious what you mean Cairyn about a python generator not being able to create a spline. I use python generators for this purpose all the time, so I'm not sure I follow. Anything specific I should watch out for in the future?

      posted in Cinema 4D SDK
      A
      android
    • Controlling tessellation of c4d.SplineObject in python

      Hi! Does anyone know the proper technique for controlling the tessellation of a SplineObject in a python generator? I'm dynamically creating a spline of type c4d.SPLINETYPE_BSPLINE and when I drop it into the scene it is tessellating into a rather coarse polyline and I can't find the controls to smooth it out. I have tried creating a SplineHelp and using that to sample the spline at regular intervals, but it appears to only sample the same coarse tessellated spline, not the underlying bspline. I'm sure this is something simple that I'm overlooking! Many thanks!

      posted in Cinema 4D SDK python classic api
      A
      android
    • RE: Get current frame at render time with Python?

      Hi Maxime, thanks for the response! I was aware that the scene gets copied, but unaware of the GetDocument function so it definitely makes sense! I will give that a try and report back. I have been trying this with both a python effector, as well as in a python xpresso node.

      Andrew

      posted in Cinema 4D SDK
      A
      android
    • Get current frame at render time with Python?

      Hey guys,
      I have a python script that reads external files on a per frame basis and modifies the scene accordingly. This works great in the viewport but when I go to render it appears as though I can no longer get current time, because I can't get "active document" anymore while it's in the render process. Can someone point me in the correct direction of getting current time/frame during render? It seems so simple, I'm sure I'm overlooking something. Thanks!!

      posted in Cinema 4D SDK
      A
      android