Truly Clear a LinkField



  • 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



  • 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);


Log in to reply