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
    • Recent
    • Tags
    • Users
    • Register
    • Login

    tag

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 367 Views
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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