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
    • Login

    Disable User Data through COFFEE

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 206 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 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....?

      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 13/12/2010 at 07:25, xxxxxxxx wrote:

        Sorry, this is not possible with COFFEE.

        cheers,
        Matthias

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