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

    GePrint crash Cinema4D

    SDK Help
    0
    4
    408
    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 18/05/2004 at 07:14, xxxxxxxx wrote:

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

      ---------
      Hi.
      If i have to this:

      GePrint (ptagMain->GetObject()->GetName());

      (ptagMain is valid pointer to a tag plugin!)

      then C4D crash always.

      What is wrong?

      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 18/05/2004 at 11:15, xxxxxxxx wrote:

        Did you check if ptagMain->GetObject() and ptagMain->GetObject()->GetName() are valid?

        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 18/05/2004 at 23:37, xxxxxxxx wrote:

          Hi.
          Thx for proposal. I forgot to check the pointer.
          Question:
          1. How can i check, that any one of my direct child objects has been moved in the hierarchy, new child added or old removed?
          2. How i can communicate between two plugins?

          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 19/05/2004 at 02:17, xxxxxxxx wrote:

            1. I have not done this but I think you can find this out by checking the Message function for your plugin type.
            For example TagData::Message() or maybe even CoreMessage
            2. What kind of communication are you after? I recently made a object data plugin that needs to retrieve data from a custom tag plugin. I simply had to get the BaseContainer of the tag object, and read the values from it
             
            Something on these lines

                
                
                  
                
                
                
                
                BaseTag* tag = op->GetTag(MYPLUGINTAG_ID);
                
                
                
                
                if(tag)
                
                
                
                
                {
                
                
                
                
                  BaseContainer bc = tag->GetData();
                
                
                
                
                  Real r = bc.GetReal(REAL_DATA,0.0);
                
                
                
                
                }
                
                
                
            
            1 Reply Last reply Reply Quote 0
            • First post
              Last post