Maxon Developers
    • Downloads
      • All Downloads
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
      • Cinema 4D Python Examples
      • Cinema 4D C++ Examples
      • Project Tool
      • SDK Database
    • Documentation
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
    • Forum
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Forums
      • Overview
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • News & Information
      • Downloads
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Register
    • Login

    tag

    SDK Help
    0
    4
    37
    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 10/10/2005 at 14:00, xxxxxxxx wrote:

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

      ---------
      Hi,

      Has anyone found a way to know:

      1. if a tags object is deleted
      2. if a customguis linked object is deleted

      (i'm inside a GeDialog)

      regards,

      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 14/10/2005 at 11:27, xxxxxxxx wrote:

        1. The safest way is to never store any direct pointers to the tag, just base links. Then you will get NULL from the link if the tag isn't valid anymore. If you don't get NULL you can use this to see if it's still on an object in a scene:

            
            
            !tag->GetObject() || !tag->GetObject->GetDocument
        

        2. Wouldn't it return NULL if the object is deleted?

        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 14/10/2005 at 12:29, xxxxxxxx wrote:

          Mikael,

          That's not enough.
          Maybe i'm missing the point here but:

          Yes, but only after checking.
          I have a visable list of objects in my dialog.
          They are dropped there by the user.
          Now the user deletes one of these objects from the    
          objects manager.The object remains visible in my listview.
          Because i do not immediatly know that the user has deleted the object.
          2.
          Yes, but only after checking.
          I have a visible link, the user removes(deletes) the object linked to, the visible link remains.

          regards,

          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 14/10/2005 at 12:38, xxxxxxxx wrote:

            You will get a EVMGS_CHANGE message to the CoreMessage() function in your dialog when an object is deleted. Then you can run through the objects and see which ones should be removed. (There is no direct message when an object is removed.)

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