Disable User Data through COFFEE



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

    On 12/12/2010 at 07:43, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   12 
    Platform:    Mac  ;  
    Language(s) :   C.O.F.F.E.E  ;   XPRESSO  ;

    ---------
    Hi,

    is it possible to disable User Data (make it greyed out) with COFFEE, maybe through a Boolean switch? I need to find a way to detect whether or not a Link User Data field is populated or not.

    I've set up a small expression where the matrix of a Link is passed through to a COFFEE node via User Data. But when the link is removed from the Link field, the last value still gets passed through.

    Before, I had it set up so that the linked object itself was passed through to the COFFEE node, but then, when the link was removed from the Link field, it caused the COFFEE node to error preventing the entire expression from executing.

    Does that make sense....?



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

    On 13/12/2010 at 07:25, xxxxxxxx wrote:

    Sorry, this is not possible with COFFEE.

    cheers,
    Matthias


Log in to reply