Creating Xpresso Network Through Coffee



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

    On 18/09/2009 at 12:12, xxxxxxxx wrote:

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

    ---------
    Hello All,
    I'm very new to Cinema. Please forgive me if the answers to my questions are obvious. :)
    Coming from Maya, I'm very used to the way how you can create node graphs using MEL. I've made a xPresso calculate node. I've been looking for a way to hook up the network through scripting, since I would not want my users to do it by hand. My searches seem to indicate that's not possible.
    My questions to the experienced Cinema gurus is would it be possible to use coffe to add eXpresso tag to an object, exreate eXpresso nodes and connect objects?
    If it's not possible what would be the best course of action to programmatically achieve it?
    Thanks very much!
    Wei



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

    On 18/09/2009 at 12:23, xxxxxxxx wrote:

    Hi!

    This is not possible with Coffee, but possible with Python or C++.
    To embed Python in C4D you just have to download Py4D.

    Check out the documentation:
    http://www.py4d.com/doc/modules/XPressoTag.html#c4d.XPressoTag
    http://www.py4d.com/doc/modules/GvNodeMaster.html#c4d.GvNodeMaster
    http://www.py4d.com/doc/modules/GvNode.html#c4d.GvNode

    This should help. Bye,

    Shawni


Log in to reply