Extending COFFEE



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

    On 25/01/2011 at 12:49, xxxxxxxx wrote:

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

    ---------
    Hi,

    would it be possible to extend the COFFEE-Language with C++ ?
    For example, I miss a GetVirtualObject(); - function in COFFEE.

    cheers, nux



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

    On 25/01/2011 at 16:10, xxxxxxxx wrote:

    There is the Coffee class in the C++ API, that enables you to create Coffee extensions.

    If you want to wrap GetVirtualObjects() in Coffee, you would have to wrap the whole ObjectData class, as well as all the helper classes and related stuff. First, I guess that will take you quite some time. Second, if it was possible, I think somebody would have already done it (I never had a look at it myself, though).

    Cheers,
    Jack



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

    On 28/01/2011 at 07:18, xxxxxxxx wrote:

    Howdy,

    Maxon should create an example of how to use the c++ coffee class. That has been in the sdk for a long time, but there has never been an example of how to use it. 😕

    Adios,
    Cactus Dan



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

    On 28/01/2011 at 08:54, xxxxxxxx wrote:

    So i would be very time expensive and much work, i think. :/
    Better i really go to another language soon.

    Thanks for your answer.

    Maxon should create an example of how to use the c++ coffee class.

    I really can't imagine how to use this class, too..


Log in to reply