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

    Make Editable example [SOLVED]

    SDK Help
    0
    25
    15.1k
    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
      Helper
      last edited by

      On 20/04/2015 at 08:52, xxxxxxxx wrote:

      Hi,
      you may use InsertUnder() and alike inside GVO. But you are not allowed to make changes to the active scene (only your objects cache) with these functions during GVO. If you generate a cube in GVO, you are allowed to use InsertUnder() to insert a Null Object as child of the cube. And then later on you can return the cube as result from GVO.
      You can simply check it. Just select your generator object and hit the c key. You will see the hierarchy you generated within the Object Manager.

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

        On 20/04/2015 at 11:20, xxxxxxxx wrote:

        Hi Andreas,

        Unfortunately, that doesn't work with me. I've tried to add a sphere to the cube with InsertUnder, but nothing to see inside Cinema 4D. Could you please provide me with a simple example on how to add a BaseObject to the cube? It doesn't matter which object.
        Thanks for your help and time!
        Greetings,

        Casimir Smets

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

          On 20/04/2015 at 12:22, xxxxxxxx wrote:

          Hi,

          I've finally got it to work, but now my next problem comes up. I have more than a few null objects inside my plugin, but when I make it editable/current state to object, it deletes that null objects, which is definately not what I want. Especially because some are helper objects for their childs.

          Is there any way to let null objects stay after making something editable?

          Thanks for your help and time!
          Greetings,

          Casimir Smets

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

            On 20/04/2015 at 12:26, xxxxxxxx wrote:

            Hi,

            Allready found my own solution. If you have a null as child, it disappears when making editable/current state to object. If your null is a parent for another object (NOT NULL) it does not go away.

            Greetings,
            Casimir Smets

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

              On 21/04/2015 at 12:06, xxxxxxxx wrote:

              Hi,

              You can mark this as solved!
              It works like the way Andreas showed on page 1.

              Greetings,
              Casimir Smets

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