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

    Nullobject returned?

    SDK Help
    0
    3
    304
    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

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 19/05/2004 at 08:06, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.100 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      I have a generator. It works perfectly. I put a polyobject underneath it and my gen returns a splineobject. Ok.
      But sometimes my generator returns a Null-object with the splineobject as its child. It does this on its own!!! I never created a null-object in my code anywhere. I noticed this several times but have no clue why this happens.
      Does anybody know why? The polygonobject is not deformed by any other object nor is it animated in any way.
      Thank you
      Samir

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 20/05/2004 at 04:22, xxxxxxxx wrote:

        If it's the generator that does it by itself, couldn't you just ask it why? 😉
        Does it happen even if there's only the generator and the polygon object in the scene?

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

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 20/05/2004 at 05:18, xxxxxxxx wrote:

          Lol, if it´d that easy. Yes, it happens even if there´s only the generator and the polygonobject in the scene. I create a new scene and even create a new instance of the generator. Then I add the polygonobject and it still creates a null-object. I have noooooooooooooooooooooo clue why it does so. I looked at the polygonobject for I thought this one might be corrup in any way but it´s a simple polygonobject with 400 points. No empty polygons, all points used, all normals aligned correctly... I get crazy 🙂
          And checking for a null-object at the very end of the generator code (so one line before returning the splineobject), doesn´t tell me either. He actually does return a spline-object.
          It´s weird 😞

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