THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/12/2011 at 08:02, xxxxxxxx wrote:
Cinema 4D Version: R13
Platform: Windows ;
Language(s) : C++ ; XPRESSO ;
I want to create an object node for Xpresso tag from C++ using the C4D SDK. I'm starting with this ( pMaster is GvNodeMaster* ) :
** GvNode *pRoot = pMaster->GetRoot();
GvNode *pNode = pMaster->CreateNode(pRoot, ID_OPERATOR_OBJECT, NULL, 10, 10);
The Xpresso object node should reference an object ( BaseObject ) from the C4D object tree, but how can I set BaseObject to my pNode from above?
... and then I also want to show some attributes (for example the global position) of the object as input or output ports of pNode. How can I do it with C++?
All these things can be done very easy with the Xpresso editor. So, there should be a way to do them also with C++. Can somebody reveal how?
Thanks in advance.