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

    Spline Generator based on Generator

    Cinema 4D SDK
    2
    3
    567
    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.
    • bacaB
      baca
      last edited by m_adam

      Based on script provided by @m_adam at another topic
      I've noticed if child object is a generator object, then on child properties change GetContour is called.
      For example if position changed by dragging object in the viewport - child object become visible (until mouse button is released).
      How to hide child objects during interaction as well as GetVirtualObjects do this normally?

      Video: http://take.ms/C64gW

      1 Reply Last reply Reply Quote 0
      • M
        m_adam
        last edited by

        Hi Thanks a lot, I've updated the code in the linked post.

        I used Global Matrix while I should use the Relative Global Matrix BaseObject.GetUpMg.
        For the display issue, the issue comes from the fact that the script clones the object and inserts the object in the current document in order to keep link alive (e.g tracer). So the solution is to Touch the object in the GetContour Method.

        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        bacaB 1 Reply Last reply Reply Quote 1
        • bacaB
          baca @m_adam
          last edited by

          @m_adam Oh, yes! Thanks, it works just fine.

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