Switching objects on and off with userdat



  • 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



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


Log in to reply