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. Fabian
    3. Posts
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by Fabian

    • RE: Python new point indices after points have been deleted

      Hi Andreas,
      thanks for the reply. I wasn't planing to send the message, just trying to understand what's happening. It would make my life sonmewhat easier if there was a way to request the map and having that map sent under all circumstances. But since that's not happening, I'll have to work around that.

      posted in Cinema 4D SDK
      F
      Fabian
    • RE: Python new point indices after points have been deleted

      Ok, got it. I was confused by the way Cinema reordered the indices. I was expecting all indices to shift, so when the point with index 10 gets deleted, 11 would become 10, 12 would be 11 and so on. In fact only the point with the highest index jumps down to fill the gap while all others remain the same. Makes sense of course, but it had me confused

      So I can work with that. However, if someone does know how to retrieve the translation map from MSG_POINTS_CHANGED, I'd be very interested. What does it actually mean that the map is optional? Is it that I could include a map if I were to send the message myself?

      posted in Cinema 4D SDK
      F
      Fabian
    • Python new point indices after points have been deleted

      Hello,

      can someone help me to find out how i can get (in Python) the new point index for a PointObject's old point index after some points have been deleted? MSG_POINTS_CHANGED is aid to send a translation map, but apparently this is optional and I had no success in receiving it. There surely is an easier way than to compare each point after the change with each point before the change? Thanks for any hint.

      Fabian

      Edit a_block: Entire post was heading2, fixed

      posted in Cinema 4D SDK python
      F
      Fabian