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

    Creating TP Node

    SDK Help
    0
    3
    575
    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
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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;
        
        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          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!

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