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

    how to get InExcludeData cache/clone?

    Cinema 4D SDK
    2
    3
    815
    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.
    • merkvilsonM
      merkvilson
      last edited by merkvilson

      I have an object generator plugin which receives its children via GetAndCheckHierarchyClone and applies modeling command to the hierarchy clone.
      I want to use objects from its InExcludeData as a clone and a dirty flag. how is this possible?

      1 Reply Last reply Reply Quote 0
      • r_giganteR
        r_gigante
        last edited by

        Hi merkvilson, thanks for writing us.

        With regard to your question, it's indeed possible to deliver the requested functionality, but instead of using the BaseObject::GetAndCheckHierarchyClone() you can make use of dependence lists by using:

        • BaseObject::NewDependenceList()
        • BaseObject::AddDependence()
        • BaseObject::CompareDependenceList()
        • BaseObject::TouchDependenceList()

        A clear example showing this approach is shown in the BaseObject Manual at the Generation section.

        Cheers, Riccardo

        1 Reply Last reply Reply Quote 0
        • r_giganteR
          r_gigante
          last edited by

          Hi Merkvilson, is this topic still opened? If not please mark the topic as "Solved" from the Topic Tools menu or feel free to get back for further comments.

          Cheers, Riccardo

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