Creating TP Node

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

On 06/01/2003 at 09:59, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.012 
Platform:   Windows  ;   
Language(s) :     C++  ;  XPRESSO  ;

---------
I have an Xpresso node plugin. I want to internally use for example the PBorn Node. How can I create this (any) TP Node and change its values? I´m really a bit confused. Could you post an (unsupported 😉 example?
That would be great.
Thanks

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

On 08/01/2003 at 01:03, xxxxxxxx wrote:

(I know you were already sent this. Just posting here for reference.)

    
    
    BaseContainer *bc = node->GetOpContainerInstance();
    
    
    
    
    
    
    
    RetrievePrivateData rp;  
    rp.flags=0;  
    rp.data =NULL;  
    if (!tag->Message(MSG_RETRIEVEPRIVATEDATA,&rp) || !rp.data) goto Error;
    
    
    
    
    
    
    
    GvNodeMaster *master = (GvNodeMaster* )rp.data;  
    GvNode *parent = master->GetRoot();
    
    
    
    
    
    
    
    GvNode *node = master->CreateNode(parent,ID_OPERATOR_OBJECT,NULL,10,10); if (!node) goto Error;

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

On 08/01/2003 at 01:34, xxxxxxxx wrote:

yes, thanks anyway!