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

    Truly Clear a LinkField

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 218 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 06/10/2007 at 17:29, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.6-10.5 
      Platform:   Windows  ;   Mac OSX  ; 
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      Hi. Stuck on basics again I'm afraid.
      On my Tags I have Linkfields (UserData)
      I drag objects into them and use those objects for further calculations.

      Problem is to truly clear the links if for example;
      -1 The objects is deleted from the scene (in OM) or,
      -2 The object is of wrong type (that I have descided.

      What happends is the object is still "virtually" there.
      The linkfield is only truly cleared if there is an object there and I use the small DropDown menu on the right side and pick "Clear".

      Is it possible/how do I get that dropdown menu?
      I've searched here and found some threads, but they are C++ and I can't really interpret that to coffee.

      I assume I have to get the Tags BaseContainer and get the Linkfield ID (and not the object_ID in the linkfield)
      And there is where I'm stuck...

      Cheers
      Lennart

      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 07/10/2007 at 01:23, xxxxxxxx wrote:

        You cannot access Linkfields in COFFEE. The only way I see is to use tagBaseContainer->SetData(LINKFIELD_ID, NULL);

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