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

    Can we change the index (id) of a clone(s)

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 452 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 26/01/2018 at 08:04, xxxxxxxx wrote:

      Is there a way to change the index number of a cloner using a Python Effector?
      One use would be to sort indices based on X,Y or Z axis, Randomization, proximity e.t.c.
      Currently, this can be done using a Voronoi Fracture, but there are a lot of limitations with Render instances.

      Cheers

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

        On 26/01/2018 at 09:45, xxxxxxxx wrote:

        I seem to have answered my own question, after searching this forum a bit harder.
        Stole the code from my friend Douwe and changed it a bit from this thread:
        https://developers.maxon.net/forum/topic/6744

        Here's an effector that randomizes the Clone IDs based on a seed (UserData)
        https://www.dropbox.com/s/1xpteeem5eopos2/Index%20Randomizer%20Python%20Effector%2001A.c4d?dl=0

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