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. SuperHomiak
    3. Topics
    The forum rollback caused push notifications and recent user data to malfunction. The problem will fix itself naturally within the next days. See the topic Broken Push Notifications for a more in detail explanation. You can fix this yourself by forcibly clearing your browser cache (for most browsers: CTRL + F5).
    • Profile
    • Following 1
    • Followers 0
    • Topics 2
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by SuperHomiak

    • SuperHomiakS

      How to Add Multiple Redshift Pazzle Matte AOVs

      General Talk
      • python • • SuperHomiak
      2
      0
      Votes
      2
      Posts
      1.1k
      Views

      ManuelM

      hi,

      if you wants to know how many AOVs you need for 10 objects you should use Ceil. After that, some math to have your ID raising by 1.

      numberOfAOVs = math.ceil(10 / 3.0) # will give you 4 for i in xrange(int(numberOfAOVs)): print ("create aov number {}".format(i)) for j in xrange (3): print ("value of field will be : {}".format(j + i * 3 ) )

      I'm not a big fan of retrieving all the objects on each function. But first, make things works, than optimize. (at least at the beginning)

      Cheers,
      Manuel

    • SuperHomiakS

      Stuck with loop through tags

      General Talk
      • python • • SuperHomiak
      4
      0
      Votes
      4
      Posts
      750
      Views

      ManuelM

      hi @SuperHomiak welcome to the forum.
      Thanks @zipit for the answer 🙂

      For your next threads, please help us keeping things organised and clean. I know it's not your priority but it really simplify our work here.

      Q&A New Functionality. How to Post Questions especially the tagging part.

      I've set the thread to a question and marked zipit answer as the right answer 🙂

      Cheers,
      Manuel