Evaluating an expression



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

    On 04/04/2006 at 17:05, xxxxxxxx wrote:

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

    ---------
    I know we have a command called evaluate() but it only evaluates a numerical expression that resides in a string.
    What I'm looking after is something that would allow me to evaluate something like:

    "op#ID_BASEOBJECT_POSITION:VECTOR_X"

    Possible?

    Rui Batista



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

    On 06/04/2006 at 12:55, xxxxxxxx wrote:

    Not possible in C.O.F.F.E.E., though it might be possible in C++ using the c4d_coffee.h header and encapsulation of the expression in a suitable script, e.g. "return %s".



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

    On 06/04/2006 at 16:44, xxxxxxxx wrote:

    Damn! Oh, well... when will COFFEE evolve enough to allow more stuff like this? ;)

    Rui Batista


Log in to reply