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

    GetPluginID ?

    SDK Help
    0
    3
    685
    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 29/11/2002 at 07:16, xxxxxxxx wrote:

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

      ---------
      Hello

      I've made an object plugin and a tag plugin. The tag plugin must identifies the object plugin. I've made it like that...(it serch if a parent is the pluginobject)

        
      // temp is the baseobject on which the tag is  
      while(temp)  
      {  
      if (temp->GetType() == Opluginobject)  
      {  
      // maybe the problem is here  
      PluginObject * p_obj = (PluginObject * )obj;  
        
      // PS_ID is the id of the pluginobject  
      if (p_obj->GetPluginID() == PS_ID)  
      {  
         GePrint("found it");  
      }  
      }  
      temp = temp->up();  
      }  
        
        
      
      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 29/11/2002 at 07:17, xxxxxxxx wrote:

        oops !

        p_obj->GetPluginID() returns 2
        can someone help me please ?
        Thanx

        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 29/11/2002 at 07:42, xxxxxxxx wrote:

          Ok i found !

          It was in the old forum !!!

          THx

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