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

    Switching objects on and off with userdat

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 254 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 13/01/2005 at 08:14, xxxxxxxx wrote:

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

      ---------
      I have to realize a function that enables me to automatically switching objects on and off. I have about 9000 objects. The date of creation of these objects can be found in their names:
      BODY_1961_RD_Thor_Ablestar_fragmentation_debris

      For tha animation I have to show all the objects that were created before a certain time, e.g. show all objects form start to 1990.
      My idea was to use a COFFEE Expression for the parent object and to create a user data field that contains the year. My questions are:
      Is this a good way to do it, or can a better way be found?
      How can I read the user date field using COFFE? (didn't find that by searching the reference)

      Thanks
         Bernd

      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/01/2005 at 08:06, xxxxxxxx wrote:

        I don't think it's possible to access the user data with C.O.F.F.E.E. My recommendation would be to animate some secondary parameter, for example the position of a dummy object, and then use that in the script. Or you could use Xpresso.

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