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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Evaluating an expression

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 224 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 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

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

        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 06/04/2006 at 16:44, xxxxxxxx wrote:

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

          Rui Batista

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